[resolved] jQuery - animating AJAX for links.
Posted: Wed Oct 21, 2009 3:12 pm
I'm pretty sure I'm being a huge noob, but I can't seem to figure it out.
http://murcity.com/layout.php
Right after the "hey" you see "I love ajax" blah blah. If you click that link it adds to the "hey" div, the contents of a file on my server. Perfect. What I want it to do is just now -fade in- and it's taken me nearly two hours of research and I simply can't seem to figure out how to do this.
The code in question is
http://murcity.com/layout.php
Right after the "hey" you see "I love ajax" blah blah. If you click that link it adds to the "hey" div, the contents of a file on my server. Perfect. What I want it to do is just now -fade in- and it's taken me nearly two hours of research and I simply can't seem to figure out how to do this.
The code in question is
Code: Select all
$(document).ready(function(){
$("a#toggle2").click(function(){
$.get("testyplox.php?omg=5", function(data){
$("div#rofl").append(data);
});
});
});