forked from matehackers/tarifapoa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
19 lines (19 loc) · 681 Bytes
/
Copy pathtest.html
File metadata and controls
19 lines (19 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('input').button().click(function (event) {
console.log($('.ui-state-active').length);
}).change(null, function (event) {
console.log($('.ui-state-active').length);
});;
});
</script>
</head>
<body>
<input type="checkbox" id="check" /><label for="check">Toggle</label>
</body>
</html>