Created
March 8, 2016 08:12
-
-
Save oscarandreu/31bd9080a5ea9c05010c to your computer and use it in GitHub Desktop.
Basic Ajax get using jquery
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 src="http://code.jquery.com/jquery-1.12.1.min.js"></script> | |
| <script> | |
| $.get( "ajax/test.html", function( data ) { | |
| $( ".result" ).html( data ); | |
| alert( "Load was performed." ); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment