Last active
October 5, 2016 02:27
-
-
Save TRManderson/eedb2ad268a11f41cbcdfda884f76ad8 to your computer and use it in GitHub Desktop.
Example jquery.load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| $("#viewer").load("/viewer.html"); | |
| console.log("Done"); | |
| }); | |
| </script> | |
| </head> | |
| <body> | |
| <div id="viewer"> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript" src="/test.js"> | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment