Knowledge Walls
Ammu
Hyderabad, Andhra Pradesh, India
Passcode:
Checkbox in JQuery of JQuery
2580 Views
Example
	$(document).ready(function(){

	    $(".check").click(function(){

	        $("#myCheck").prop("checked", true);

	    });

	    

	     $(".uncheck").click(function(){

	 

	         $('#myCheck').prop("checked", false);

	    });

	    

	});

	</script>

	</head>

	<body>

	    <p><input type="checkbox" id="myCheck"> Are you sure?</p>

	    <button type="button" class="check">Yes</button>

	    <button type="button" class="uncheck">No</button>  

	</body>

	</html>         

	 
Next Topics
Next lessons of current book.
Previous Topics
Previous lessons of current book.
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
Best Lessons of "JQuery"
Top lessons which are viewed more times.
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
JQuery of JQuery
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details