Thursday, 8 September 2016

Hide html from when checkbox is checked via php



In my project I have a HTML page, some part of HTML file should display when a checkbox is checked, I used a Form tag cause I should submit that parameters to the server.
Here is that part of HTML file : ( The HTML file name is config.html)

















I did that in HTML file.
I include this HTML file in my Php file : ( My Php file name is configwireless.php )






I tried different ways to do this, But no chance.
Could anybody tell me what is the correct way by a simple sample?
Any help will appreciate.
thanks to all.


Answer



Try this, hope to work



onchange="valueChanged()"/>








No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...