I've got this login form where there's a username and password field ..and a login button (duh!)... i've used ACCESSKEY attribute for the login button.. and set it to 'enter' key.. but when i hit enter..the Javascript function associated with the button is not getting called.. can someone help me? here
s my code.. thanks..
<input type=hidden name=module value=login>
<tr style="">
<td><span class="headtext">username </span></td>
<td><input type=text name="username" id="username" value="" /></td></tr>
<tr style="">
<td><span class="headtext">password </span></td>
<td><input type="password" name="password" id="password" value=""/></td></tr>
<input type="button" onclick="liveLogin('login')" value="login" style="margin-left:1em" ACCESSKEY='enter'></input>

does ACCESSKEY function work only when input type=submit?