html - JQuery edit div from main file with loaded file script -


i want show div that's in main file.

<html> <body>    <script>     $(document).ready(function(){            $( "#load_div" ).load( "/resources/load.php" );     });    </script>    <div id="load_div"></div>    <div id="change" style="display:none;"></div> </body> </html> 

and in loaded life:

<html> <body>    <script>       $("#change").show();    </script> </body> </html> 


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -