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


Your process.php needs to take the id as input and generate the HTML for the information div.

Then your success() function needs to take a parameter that will contain the HTML outputted from process.php.

//div fades in when operation is a success
// data contains the html output of process.php
success: function(data){
// fade out, then replace the contents of the div then fade in