Last active
October 30, 2017 04:37
-
-
Save abalter/29150d3b1fe70dc06acaa1e0519c3a99 to your computer and use it in GitHub Desktop.
simple javascript test page
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> | |
| <meta charset="UTF-8"> | |
| <title>runme</title> | |
| </head> | |
| <body> | |
| <h1 id="changeme">If you see this then jQuery did not run.</h1> | |
| <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
| <script> | |
| //document.querySelector('#changeme').innerHTML = "If you see this, then JavaScript ran."); | |
| $('#changeme').html("If you see this, then jQuery ran."); | |
| </script> | |
| </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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>runme</title> | |
| </head> | |
| <body> | |
| <h1 id="changeme">If you see this then JavaScript did not run.</h1> | |
| <script> | |
| document.querySelector('#changeme').innerHTML = "If you see this, then JavaScript ran."; | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment