Form troubles.
Form troubles.
I have a page that contains a form.
Form other pages i call the form like this:
$.mobile.changePage('pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'});
So from page1 that is located in root/ i call it like this:
$.mobile.changePage('pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'});
from page 2 that is located in root/pages/test/ i call it like this:
$.mobile.changePage('../../pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'});
Everything work great...but then i try to send the form (submit). Then it get´s messed up when calling from page 2.
The form will be loaded again without the dialog style. Nothing seems to be submitted either. What is wrong? How do i fix it?