How to store data with a multistep form in jquery mobile?

How to store data with a multistep form in jquery mobile?


With jquery mobile and phonegap i'm preparing an app.

Inside this app there is a form.

I started with a plain form en posted the data with php. (no Problemo!)

Because of lack of space on a tablet when the keyboard is popping up, I want to make a multistep form.

So far so good I made a multistep form with "fieldset" "to separate the steps. So that is working.

Now here comes the problem. 
How can I post the data with php.

The php file is going to send the data to an email address.
(other solutions except of php is welcome! it have to send finally a thank you message and post an email with reservations.

Thxs in advance!