Created
November 7, 2013 16:05
-
-
Save cgkio/7357088 to your computer and use it in GitHub Desktop.
Simple jQuery AJAX load on #id click event
This file contains 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
$("#target").click(function() { | |
$("#result").load("ajax/test.html"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment