input-type-text-unconfirmed-inline-input.html 663 B

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