Why does this not work?



HI! I have a simple form and I use a image for the send button. but I am
trying to remove the "#" which causes the page to jump up before the send. I
use a work around to circumvent this but its causing the script not to
function and I don't know why.

This line below does not work.

<a href="javascript:;"
onclick="document.getElementById('form').submit()"><img src="images/new/send
button.jpg" alt="Send Now" width="54" height="22" border="0"></a>

This code does work.

<a href="javascript:;" class="hintanchor" onmouseover="showhint('Please
enter a valid email address. If you don\'t receive our newsletter then
please check your spam box.', this, event, '150px')">[?]</a>.

Basically a add the "javascript:;" instead of the "#" which causes the jump.

Paul


.