Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Get the ID using javascript/jquery Re: Get the ID using javascript/jquery

#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.