phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] new separator in links


From: Sigurd Nes
Subject: [Phpgroupware-developers] new separator in links
Date: Tue, 11 Apr 2006 09:39:56 +0200 (CEST)

I have a problem (HEAD only) that links called from within JavaScript as in 
example1 - comes up with '&' as separator between variables

Example2 - will produce the correct separator.

The links looks the same to me (both using '&') when looking at the 
source-code in the browser.

Any reason for this ?

Regards

Sigurd

example 1:
<script language="JavaScript">
        function lookup_loc1()
        {
                
Window1=window.open('/some_link?sort=&amp;order=&amp;cat_id=','','');
        }                               
</script>

<a href="javascript:lookup_loc1()">link1</a>

example2:

<a href="javascript:var 
w=window.open('/some_link?sort=&amp;order=&amp;cat_id=','','')">link2</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]