Commits

Owen Nelson committed bdf1047

updated readme

Comments (0)

Files changed (1)

     
 Write some form markup::
 
-    <form>
-        <p>This set of buttons has the "B" option set as checked in the markup.</p>
-        <div id="preset" class="prog-buttons">
-            <label> A in Second
-                <input type="radio" value="A" name="myValue" />
-            </label>
-            <label> B in Second
-                <input type="radio" value="B" name="myValue" checked="checked" />
-            </label>
-            <label> C in Second
-                <input type="radio" value="C" name="myValue" />
-            </label>
-        </div>
+    <form method="get">
+        <p>
+            Pre-selected options should be selected when the 
+            buttons are initialized (ie, they should have an 
+            active class applied).
+        </p>
+        <select name="fancy-buttons" class="prog-btns">
+            <option value="A">A</option>
+            <option value="B" selected="selected">B</option>
+            <option value="C">C</option>
+        </select>
         <input type="submit"/>
     </form>
 
-
-
 Then activate the plugin::
 
     $(document).ready(function(){