Skip to content

Instantly share code, notes, and snippets.

@seivan
Created March 11, 2009 19:04
Show Gist options
  • Select an option

  • Save seivan/77649 to your computer and use it in GitHub Desktop.

Select an option

Save seivan/77649 to your computer and use it in GitHub Desktop.
$(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