tag and User bypassing onclick() by pressing

2006-09-01 Thread Mississippi John Hurt
I have an tag with onClick set. So when users press button, it does something. The problem is what if user type input into a field say keywordSearch, then they press . In that case the logic in the onClick attribute is not executed. I tried to put that into an onSubmit tag, but there's no such

Re: tag and User bypassing onclick() by pressing

2006-09-01 Thread Mississippi John Hurt
The has an onsubmit but how would it know which button was pressed? On 9/1/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote: I have an tag with onClick set. So when users press button, it does something. The problem is what if user type input into a field say keywordSearch, then they press