I want to hit enter key to go to p2.htm or p3.htm according to the input text that I was typing in. And I also want to hit submit1 button to alert(\'no1\') manually.
Change the input type from "submit" to "button"