Aucune description

gh-2343-ie-radio-click.html 844B

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>Test for gh-2343 (IE11)</title>
  7. <script src="../../dist/jquery.js"></script>
  8. <script>
  9. $(document).ready(function() {
  10. $( "fieldset" ).on( "click", "input", function() {
  11. $( ".result" ).append( "click " + this.value + "<br />" );
  12. } );
  13. } );
  14. </script>
  15. </head>
  16. <body>
  17. <h1>Test for gh-2343 (IE11)</h1>
  18. <p>
  19. Instructions: In <b>IE11</b>, click on or focus the first radio button.
  20. Then use the left/right arrow keys to select the other radios.
  21. You should see events logged in the results below.
  22. </p>
  23. <fieldset>
  24. <input type="radio" name="rad" value="0" /> 0
  25. <input type="radio" name="rad" value="1" /> 1
  26. <input type="radio" name="rad" value="2" /> 2
  27. </fieldset>
  28. <div class="result"></div>
  29. </body>
  30. </html>