Application reload while using IME
How to prevent application reload in the IME module
Contents
If you application contains a form with the input field inside, the default action on pressing the ENTER key may be application reload.
To avoid this, the onSubmit form event should always return false as in the example below.
Source Files
Note
The files needed for the sample application are here.
Example
<form id="plain" class="window" onSubmit="return false;">
<p>Text box with no constraints</p>
<textarea id="plainText" type="text" size="20" height="30" ></textarea>
</form>