Show/Hide div id from input value form previous page
Clash Royale CLAN TAG #URR8PPP Show/Hide div id from input value form previous page I find it difficult to solve this problem. I want to use the form input data data from the previous page to show or hide a particular div id. <form action="http://example.com/example/" method="post"> <input type="hidden" id="example" name="example" value="<?php echo $site; ?>"> <input class="examplesubmit" type="submit" value="Submit"> </form> page 2 <div id="testing" style="display:none;"> konten </div> I want the input value or name or id, of the previous page to be used as the basis of div id showing or hidden. if the user hits the submit button, the page automatically displays the content, otherwise the content is not displayed how should i write it? may use javascript or php code Have you writte...