I'm trying to submit a simple login form via ajax on a jQuery Mobile site but I'm having trouble.
It seems that when I submit the form (via POST), the form parameters are getting added to the url. Not only that, they erase the anchored page I was at before form submission.
For example, I'm on page localhost:8080/myapp/#sign_up
Then I submit the form causing the url to become: localhost:8080/myapp/[email protected]&pass=pass
So if I hit validation errors and click a 'back' button, I don't get returned back to the #sign_up
page.
Any ideas?