| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>jQuery UI Checkboxradio - Radio Group</title> |
| 6 | <link rel="stylesheet" href="../../themes/base/all.css"> |
| 7 | <link rel="stylesheet" href="../demos.css"> |
| 8 | <script src="../../external/requirejs/require.js"></script> |
| 9 | <script src="../bootstrap.js" data-modules="controlgroup"> |
| 10 | $( "input" ).checkboxradio(); |
| 11 | $( "fieldset" ).controlgroup(); |
| 12 | </script> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div class="widget"> |
| 16 | |
| 17 | <h2>Radio Group</h2> |
| 18 | <fieldset> |
| 19 | <legend>Select a Location: </legend> |
| 20 | <label for="radio-1">New York</label> |
| 21 | <input type="radio" name="radio-1" id="radio-1"> |
| 22 | <label for="radio-2">Paris</label> |
| 23 | <input type="radio" name="radio-1" id="radio-2"> |
| 24 | <label for="radio-3">London</label> |
| 25 | <input type="radio" name="radio-1" id="radio-3"> |
| 26 | </fieldset> |
| 27 | </div> |
| 28 | |
| 29 | <div class="demo-description"> |
| 30 | <p>Example markup using the controlgroup widget to create a radio group.</p> |
| 31 | </div> |
| 32 | </body> |
| 33 | </html> |