Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7554985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:28:56+00:00 2026-05-30T11:28:56+00:00

I have just started to work with jquery mobile, and things are going swimmingly,

  • 0

I have just started to work with jquery mobile, and things are going swimmingly, but I have hit a wall. I have a form that I am trying to submit (post), and upon form submission, I would like the phone to behave just as a browser would behave. I want it to actually go to the page that I specify.

Here is the scenerio

I’m on the intro page. this intro page has 2 different “jquery mobile pages” on it. By “jquery mobile pages”, I am talking about 2 different

<div id="some_page"  data-role="page">

The first of these two pages is a teaser page. It shows some of the information that the user wants to see, but not all. The url (the div id) to the first page is: bla.com/intro.php#first

The second of these 2 pages is a simple registration page. This registration page contains a form. The url (or div id) to the second page is: bla.com/intro.php#second The form looks similar to the following:

 72  <form data-ajax="false" action="#" id="signup" method="post">
 73     <input type="hidden" name="leadID" id="leadID" value="<?=$_GET['id']?>" />
 74     <input type="hidden" name="action" id="action" value="validate" />
 75     <input type="hidden" name="blaID" id="blaID" value="<?=$propertyID?>" /    >
 77     <ul id="regList" style="margin: 15px 2px 17px;">
 78        <li>
 79            <input type="text" placeholder="First Name*" id="firstName"
 80          </li>
 81     </ul>
 82   </form>

The form does submit, and it is a post submission, and the post data is present. I know this because I am using the chrome dev tools to inspect the post submission.

Here is the jquery mobile code that I am using to validate, and (attempt to) forward the page upon validation:

 10     $('.submit').click(function(e){
 11 
 12     var isValid;
 13     isValid = validateSignupFields($(this).attr('entry'));
 14 
 15     if( isValid === true )
 16     {
 17         //$('#signup').submit();
 18         $.mobile.changePage(
 19         {
 20             url: "fullInformation.php",
 21             changeHash: true,
 22             reloadPage: true,
 23             type: "post",
 24             data: $("signup").serialize()
 25         });
 26     }
 27     
 28     }); // end signupBtn click

As I said earlier, the page does submit, and the next page does load, but the url does not change. The animation occurs, and the address bar still says bla.com#second. Further, the fullInformation.php page is all jumbled up, and there is no styling. I am wondering how I can submit the page, and have it act like the browser and just go to the following url instead of staying on the same url. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:28:58+00:00Added an answer on May 30, 2026 at 11:28 am

    You are missing the required to argument (the first argument):

    $.mobile.changePage( "fullInformation.php", {
        type: "post", 
        data: $("signup").serialize()
    });
    

    Also, replace url with dataUrl

    see docs

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started with jQuery. I am trying to implement zebra striping in
I have just started to work with jquery so I need to make sure
I have just started learning Erlang and am trying out some Project Euler problems
I have just started migrating my homegrown persistence framework to JPA. Given that the
I hate that I'm doing this but I've just started working with Javascript classes
I just started using the jquery swfupload plugin and I have everything working besides
I've just started learning jQuery and already love it, but my skills aren't enough
I have just started to work as a freelance iPhone developer. Earlier I used
I have just started to work on web applications, and learning to use ASP.Net.
I have just started considering using the HTML 5 api for a Rails/JQuery project,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.