I have form which contains a text field and a submit button.
func_1() is called onsubmit event of the form and func_2() is called onkeyup event of text field.My problem is that func_2() is also called onkeyup event of enter key, I want to avoid calling func_2() on hiting enter key. Is there any better and easier way to do it?? plz suggest me
func_1() is called onsubmit event of the form and func_2() is called onkeyup event of text field.My problem is that func_2() is also called onkeyup event of enter key, I want to avoid calling func_2() on hiting enter key. Is there any better and easier way to do it?? plz suggest me
Comment