- From: Makoto Kato <m_kato@ga2.so-net.ne.jp>
- Date: Fri, 25 Feb 2011 15:16:34 +0900
Hi,
This is simple sample. This behavior is different on all web browsers
when input element has composition/preedit string for IME.
If input element has composition string by IME, should it cancel
composition string and set value by script? Or should it cancel setting
value since it has composition string?
<script>
function setvalue() {
document.getElementById('test').value = "replaced";
}
</script>
<body onload="setTimeout('setvalue()',5000)">
<input type="text" id="test"/>
</body>
-- Makoto Kato
Received on Thursday, 24 February 2011 22:16:34 UTC