Home › Forums › JavaScript › Get the ID using javascript/jquery › Re: Get the ID using javascript/jquery
June 20, 2009 at 10:37 am
#59401
Chris Coyier
Keymaster
When you do that $.post, you are going to get some data back from that test.php file (where you do the database call and all that). Check out jQuery’s documentation on post:
http://docs.jquery.com/Ajax/jQuery.post … llbacktype
It includes a callback function, or a function to run when that post is done. In there, you’d do your fading and drop in any data that you get back from that post call.