blob: fd46ece6866bf7ba57ff9ad81aa672f39c5c81ca [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="radio" name="test" id="rd">
<input type="radio" name="test" id="rd2" onchange="handleChange()">
<script>
description("This is to test onchange of radio buttons");
function handleChange() {
testPassed('onChange event fired for a radio button.');
}
document.getElementById('rd2').click();
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>