|
Posted by Ike on 05/03/06 17:29
I'm hoping someone can tell me how to do something which, though trivial to
some, I'm really struggling with here. If I have an href, which, through the
magic of CSS, we make appear as a button (a surrogate Submit button no
less), I somehow need to make it pick up when "enter" ("return") is pressed,
so that it acts like a real Submit button. In other words, I think somehow
the href needs to pick up the focus, and if it HAS the focus, will it then
act the same as if it were clicked upon? Below is the construction of the
button, without the css:
<div class="rvbuttons" style="padding-right:81px;" >
<a href="javascript:document.frmLogin.submit();" align="left"
class="rvbutton" style="float:center;" onClick="return
chkLogin()">Submit</a>
</div>
TIA, Ike
[Back to original message]
|