This is an HTML page (sample)
<!DOCTYPE html>
<html>
<body>
<div id="first">
<label>First</label>
<input type="checkbox" checked="checked">
</div>
<div id="second">
<label>Second</label>
<input type="checkbox">
</div>
</body>
</html>
It shows two flags as shown below.
I would like to know if it is possible using jQuery to hide only the second flag.
The actual page I'm working on contains about 40 flags, and I would like the solution to be applicable even for this.
Is it possible?
Can someone let me know how to do this?
source
share