• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Diving Deeper into jQuery Mob... > Submitting a Form and Displaying the...

Submitting a Form and Displaying the Response

Although the jQuery Mobile framework has all the components necessary to create and submit an online form, it cannot process data input. That’s the responsibility of a server-side technology, such as PHP, ColdFusion, ASP.NET, or Perl. Writing form-processing scripts is beyond the scope of this book.

By default, jQuery Mobile attempts to submit the form input using Ajax. All that’s necessary is to set the value of the form’s action attribute to the URL of the file that processes the form input. If the form-processing script outputs the response as a jQuery Mobile page block, it’s loaded automatically like any other content, complete with a Back button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint