topical media & game development

talk show tell print

mobile-js-sample-chapter-3-3-18.htm / htm



  <!DOCTYPE html>
  <html>
    <head>
      <title>jQuery Mobile Application</title>
  
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
          <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
  
    </head>
    <body>
  
          <section id="page1" data-role="page">
            <header data-role="header"><h1>jQuery Mobile</h1></header>
            <div class="content" data-role="content">
                  <h3>Search Input</h3>
                  <form id="myform" action=<formprocessor.php> method="post">
                <div data-role="fieldcontain">
                  <label for="search-restaurants">Search Restaurants:</label>
                  <input type="search" name="search-restaurants" id="search-restaurants" value="" />
                </div>
          
                  </form>
            </div>
            <footer data-role="footer"><h1>O'Reilly</h1></footer>
          </section>
          
    </body>
  </html>
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.