I need some help, can someone tell me how to return false to a window location change? I tried using the below code, because I want to run a function at the same time and would prefer it being treated as a link rather than text(more distinguishable).
<A HREF="" TARGET=_PARENT onclick="(window.location='');return false;function_name()">link name</A>
(note:href is empty, window.location is too)
<A HREF="" TARGET=_PARENT onclick="(window.location='');return false;function_name()">link name</A>
(note:href is empty, window.location is too)
Comment