Page 2 of 2

Posted: Tue Feb 14, 2006 4:26 pm
by Chris Corbyn
shiznatix wrote:whew productive evening so far. everything is coming together really well just 1 last thing.

when i do:

Code: Select all

<a href="#" onclick=".....">
when you click the link it executes the javascript but it jumps the page to the top so it like scrolls the page back up to the top. I really need it to not jump like that. any ideas?
<a href="javascript:void(0);" onclick=".....">

;)

Posted: Tue Feb 14, 2006 6:34 pm
by RobertGonzalez
You could also do something like...

Code: Select all

<a href="javascript: functionName(param1, param2);">Link Text</a>