blob: b676297b9a910318c95029b1cc9551213d521b1f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="checkbox" id="ch" onchange="handleChange()">
<script>
description("This is to test onchange of checkboxes");
function handleChange() {
testPassed('onChange event fired for the checkbox.');
}
document.getElementById('ch').click();
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>