Thread: Javascript Help
View Single Post
  #1 (permalink)  
Old 17-11-04
pete1987 pete1987 is offline
Registered User
 
Join Date: Aug 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
pete1987 is an unknown quantity at this point
  Javascript Help

Hi,

I'm putting together a search form banner, which builds a URL that is opened by clicking on a button. This is the code for the button:

sBanner += '<td><a href="javascript:goSearch()" onClick=""><img src="http://www.etc.co.uk/xx.gif" alt="[click here to search]" border="0" target=_blank></a></td>

The thing is that it launches the URL in the same window, I want it in a new window, obviously target_=blank doesn't work because you get a window with javascript:goSearch() as the address.

Any help would be much appreciated.

Thanks

Pete
Reply With Quote
Sponsored Links