|
|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>My first jQuery Mobile code</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
- <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <body>
- <div data-role="page" id="home">
- <div data-role="header">
- <h1>Form with multiple select menu</h1>
- </div>
- <form action="wurst.php" method="get">
- <div data-role="fieldcontain">
- <div data-role="controlgroup">
- <legend>Color and Size</legend>
- <select id="color" name="color">
- <option value="1">Blue</option>
- <option value="2">White</option>
- <option value="3">Red</option>
- <option value="4">Black</option>
- <option value="5">Pink</option>
- </select>
- <select id="size" name="size">
- <option value="1">X-Small</option>
- <option value="2">Small</option>
- <option value="3">Medium</option>
- <option value="4">Large</option>
- <option value="5">X-Large</option>
- </select>
- </div>
- <div data-role="controlgroup" data-type="horizontal">
- <legend>Week day and time</legend>
- <select id="weekday" name="weekday">
- <option value="1">Mon</option>
- <option value="2">Tue</option>
- <option value="3">Wed</option>
- <option value="4">Thu</option>
- <option value="5">Fri</option>
- </select>
- <select id="time" name="time">
- <option value="1">Morning</option>
- <option value="2">Midday</option>
- <option value="3">Afternoon</option>
- </select>
- </div>
- </div>
- <button type="submit" name="submit" value="submit-value">Submit</button>
- </form>
- <div data-role="footer">
- <h1>www.goodcleanfun.de</h1>
- </div>
- </div>
- </body>
- </html>
|