Hy, can you show me a script for navigating to a link using javascript? I've tried on the net but i've found nothing. The script should be like this one:
<a href="javascript:;" onclick="goTo('url of page');return false">The Link</a>
Hy, can you show me a script for navigating to a link using javascript? I've tried on the net but i've found nothing. The script should be like this one:
<a href="javascript:;" onclick="goTo('url of page');return false">The Link</a>
a link will do that in the first place. thats what they were made for
second in your attempt you make it so if the user has javascript disabled the link will not do anything.
Doing nothing with javascript disabled might be the point. Why do you want to do this? In any case, the method is:
Code:window.open('url of page')
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks