Pressing enter inside a textbox refreshes the whole page in Google Chrome.
please help me out
Pressing enter inside a textbox refreshes the whole page in Google Chrome. please help
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Pressing Enter in an input field submits a form which, depending on your form’s action attribute, may well be submitting the form to the same page (causing it to appear like a refresh). This is intended behaviour. If you’re talking about a text-area, then that’s an entirely different matter (and is probably relating to some custom JavaScript event).
If this isn’t what you mean, you’re going to need to clarify your question. At the very least, please post the excerpt of HTML that encompasses your <form> tags.