Created
March 11, 2009 19:04
-
-
Save seivan/77649 to your computer and use it in GitHub Desktop.
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
$(document).ready(function() { | |
//Click on the link .about, load/append rails/info/properties into .result | |
//And slide the div down to show content | |
//Replacing prototype code, testing/learning purposes | |
$(".about").click(function() { | |
alert("HII"); | |
$.ajax({ | |
type: "GET", | |
url: "rails/info/properties", | |
cache: false, | |
success: function(html) { | |
$(".result").append(html); | |
$(".result").slideDown("slow"); | |
}; | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment