Created
January 19, 2012 17:22
-
-
Save commadelimited/1641315 to your computer and use it in GitHub Desktop.
Refreshing jQuery Mobile widgets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-role="fieldcontain"> | |
<fieldset data-role="controlgroup" data-type="horizontal"> | |
<legend>Layout view:</legend> | |
<input type="radio" name="radio-view" value="list" /> | |
<label for="radio-view-a">List</label> | |
<input type="radio" name="radio-view" value="grid" /> | |
<label for="radio-view-b">Grid</label> | |
<input type="radio" name="radio-view" value="gallery" /> | |
<label for="radio-view-c">Gallery</label> | |
</fieldset> | |
</div> | |
$("input[value=grid]").attr('checked',true).checkboxradio('refresh'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment