topical media & game development

talk show tell print

mobile-js-sample-chapter-3-3-17.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>Checkboxes and Radio Buttons</h3>
                  <form id="myform" action=<formprocessor.php> method="post">
                    <div data-role="fieldcontain">
                      <label for="slider-music">Ambient Music</label>
                          <select name="slider-music" id="slider-music" data-role="slider">
                            <option value="on">On</option>
                            <option value="off">Off</option>
                          </select>
                    </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.