1234567891011121314151617181920 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head><title>Unconfirmed inline input in <input type=text></title></head>
- <script>
- function dump(s) {
- if (s == "")
- alert("Field appears empty");
- else
- alert("Field contents: " + s);
- }
- </script>
- <p>Enter some text using inline input (e.g. Kotoeri Hiragana) and click the button without closing the input area.</p>
- <p><input type=text id=input value="" size=57><input type=button value="test" onClick="dump(document.getElementById('input').value)"></div>
- <p>The alert should show the inline input text, but without the bug fix it shows empty text.</p>
- </body></html>
|