Click to See Complete Forum and Search --> : [object] displays!


chriz
07-16-2004, 03:48 AM
Hi. Please look at my site, you will notice a 'search chriz04' pop-up search page. (If not, click the search button to the left)
Now, enter guestbook (or games) and click search. There should be one result. Open up that link and a new page should open up. Now, choose the seach page again at the bottom of the page (Task bar) and it says [object]. Why does this happen?
Thanks:)

gil davis
07-16-2004, 06:05 AM
In the search window:
<a href=javascript:window.open('http://pub23.bravenet.com/guestbook/1948647595/','','')>causes the word "[object]" to be displayed. This is caused by using the "javascript:" URL. You could use the "onclick" to fix it.
<a href="#" onclick="window.open('http://pub23.bravenet.com/guestbook/1948647595/','','');return false">

chriz
07-16-2004, 08:45 AM
Thanks a lot! should have known how to do that!:D