Skip to content

Instantly share code, notes, and snippets.

@commadelimited
Created January 19, 2012 17:19
Show Gist options
  • Select an option

  • Save commadelimited/1641298 to your computer and use it in GitHub Desktop.

Select an option

Save commadelimited/1641298 to your computer and use it in GitHub Desktop.
Refreshing jQuery Mobile widgets
<div data-role="fieldcontain">
<label for="slider-2">Input slider:</label>
<input type="range" id="slider-2" value="25" min="0" max="100" />
</div>
$('#slider-2').val(80).slider('refresh');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment