Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have two tables I want to show them in 1 view but I want the other 1 show be visible if check box is checked
Posted
Updated 29-Jul-15 23:02pm
v2
Comments
Afzaal Ahmad Zeeshan 30-Jul-15 5:03am    
In HTML, display: none || display: block. In JavaScript, document.getElementById("tableid").style.display = none; Which one do you need?

1 solution

Maybe this blog will help you:
http://stackoverflow.com/questions/18421082/show-hide-div-if-checkbox-selected[^]

Instead of change the visibility of the checkbox if you click on the checkbox, search grid and change the visibility of it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900