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

Chris Coyier

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: … 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.