Untitled


SUBMITTED BY: Guest

DATE: Nov. 23, 2013, 9:52 a.m.

FORMAT: Text only

SIZE: 948 Bytes

HITS: 9625

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <head>
  5. <title></title>
  6. <meta http-equiv="X-UA-Compatible" content="IE=8" id="myspecialtag" />
  7. <script type="text/javascript" src="jquery-1.10.2.min.js"></script>
  8. </head>
  9. <body>
  10. <input type="text" size="30" id="mytextfield">
  11. <script type="text/javascript">
  12. $(document).ready(function() {
  13. document.getElementById("mytextfield").value = "test";
  14. $("#mytextfield").on("propertychange input", function () {
  15. alert(1);
  16. });
  17. });
  18. </script>
  19. </body>
  20. </html>

comments powered by Disqus