Hi, I m having some div tags which onchange i want to insert the new value into my database.. As people suggests , i m using $.ajax POST to insert ..SInce i m new to JQuery and Ajax..I dono what actually that data and msg in $.ajax()..Please suggest me how to insert my value to database asynchronously....(on the Fly)
$(".div"+increment).change(function(){
$.ajax({
type: "POST",
url: "./server",
data: "name=John&location=Boston",
success: function(msg){
alert( "Data Saved: " + msg);
}
})
});