<html>
<body>
<input id="myInput"
type="text"
size=60
value='This input control has ime-mode property set to "inactive"'>
<button onclick="myInput.style.imeMode='active'">Set imeMode property to active</button>
<button onclick="myInput.style.imeMode='inactive'">Set imeMode property to inactive</button>
</body>
</html>