Jump to content

[SOLVED] javascript open new window doesnt work


thewooleymammoth

Recommended Posts

i have a link that i would like to open a new window with. However when i open a new window it brings the original window to a page that just says [object Window] so i figured return false; was the right move, but then when you click the link nothing happens, any advice

 

<a href="javascript:return false; window.open('/ads/view.php?id=$id', 'Print Coupon', 'width=600, height=500, toolbar=no, location=no');">Print this Ad</a>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.