I'm currently working on a multi-step query form which can be found at: http://jsfiddle.net/xSkgH/47/.
I'm trying to submit the variables via jQuery AJAX (process.php will handle the processing) and refresh the div last-step with the div in the process.php called result. How can I achieve this?
I've so far managed to accomplish this using the jQuery form plugin by malsup ( http://jquery.malsup.com/form/).
I want to switch over to a load request and have been told to use the following:
$ ( '#last-step' ). load ( url , data , function (){})
Which will send a post request, fills the html content of 'last-step' with whatever the url printed out into the response html. But I'm not sure how to replace the code below and use .load:
The code I currently using can be found here: http://codetidy.com/2522/
Many thanks in advance.