joaogl Posted April 9, 2013 Share Posted April 9, 2013 Hello, I'm trying to make a check every second to see if the checkboxes are true or false. Goal: Have one checkbox, if its true then shows two more checkboxes so a total of 3 textboxes. If false there is only one checkbox showing. How can I do this? Link to comment https://forums.phpfreaks.com/topic/276744-checkbox-help/ Share on other sites More sharing options...
davidannis Posted April 9, 2013 Share Posted April 9, 2013 Use javascript to display or hide a <div> containing the other two checkboxes. Link to comment https://forums.phpfreaks.com/topic/276744-checkbox-help/#findComment-1423780 Share on other sites More sharing options...
joaogl Posted April 9, 2013 Author Share Posted April 9, 2013 And how can I do that? Link to comment https://forums.phpfreaks.com/topic/276744-checkbox-help/#findComment-1423781 Share on other sites More sharing options...
xxclear Posted April 9, 2013 Share Posted April 9, 2013 Use onclick or onfocus functions in javascript http://www.webdeveloper.com/forum/showthread.php?191521-Show-Hide-div-based-on-Radio-button Link to comment https://forums.phpfreaks.com/topic/276744-checkbox-help/#findComment-1423783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.