Last active
December 30, 2015 07:59
-
-
Save congjf/7799656 to your computer and use it in GitHub Desktop.
Check all Checkbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTML, Check all the Checkbox! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html ng-app> | |
<head> | |
<script src="http://code.angularjs.org/1.2.3/angular.min.js"></script> | |
</head> | |
<body> | |
Check me to check both: <input type="checkbox" ng-model="master"><br/> | |
<input id="checkSlave" type="checkbox" ng-checked="master"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment