I'm trying to use the jquery form plugin to post form data to a mysql database. At the same time, I'm loading another page in which I need to use the mysql_insert_id(). How can I get that ID number and send it to my page I'm loading. I'm trying to post it to a Javascript var but I don't know how I can grab it from my update.php (which is where I submit the form data to)
I hope that makes sense.