开发者

Chrome page refresh problem

Pressing enter inside a textbox refreshes the whole page in Google Chrome.

p开发者_Go百科lease help me out


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜