[Javascript] get link to execute script rather than load page

Jeff Howden jeff at c4webdesign.com
Wed Feb 6 14:24:06 CST 2002


lau,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Lau
> 
> How do I get a link to execute some script rather than
> load another page? (no I don't want to use a button)
> 
> The best I can get is:
> 
> <A HREF='#' onclick='Javascript: OpenNewWindow()'>
> 
> However, this scrolls the page back up to the top -
> which I don't want to happen.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

i wrote an article just for you.

http://evolt.org/article/javascript/17/20938/

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the Javascript mailing list