aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/gh-2343-ie-radio-click.html
blob: 4bc6956c3e7db0675e21753a9532fd51ac24f8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Test for gh-2343 (IE11)</title>
	<script src="../../dist/jquery.js"></script>
	<script>
		$(document).ready(function() {
			$( "fieldset" ).on( "click", "input", function() {
				$( ".result" ).append( "click " + this.value + "<br />" );
			} );
		} );
	</script>
</head>

<body>

<h1>Test for gh-2343 (IE11)</h1>
<p>
Instructions: In <b>IE11</b>, click on or focus the first radio button.
Then use the left/right arrow keys to select the other radios.
You should see events logged in the results below.
</p>
<fieldset>
	<input type="radio" name="rad" value="0" /> 0
	<input type="radio" name="rad" value="1" /> 1
	<input type="radio" name="rad" value="2" /> 2
</fieldset>
<div class="result"></div>

</body>
</html>