if i have an Input type Image
how am i suppose to programatically submit it through JS.
code:
<INPUT type="text"
onkeyup="javascript:if(event.keyCode==13){btnClick .click();}">
<INPUT name="btnClick" type="Image" value="Button"
onclick="javascript:alert('button was clicked');">
clicking "btnClick" will raise the onclick event producing 'button was
clicked', but onkeyup of the textbox will not call the click() method
Im using Input type Image because that is what ASP.net produces for an
image button.