All, I have the following code:
$.post("save.php", {rate: value, vendor: vendor_id}, function(results)
{
alert(results);
}, "json");
I get the data and do some updates to the database. When I'm done I'd like to pass back $var1, $var2. Then parse those values and put them into a div. How can I send these values back so I can access them in something like:
results.var1
Then I can put that value of var1 into a div. Thanks for the help!