December 2013
Intermediate to advanced
384 pages
9h 54m
English
var mySelect = $("#mySelect"); mySelect [0].selectedIndex = 1; mySelect.selectmenu("refresh"); $("#myCheckbox").prop("checked",true).checkboxradio("refresh"); $("#myRadio").prop("checked",true).checkboxradio("refresh"); $("#mySlider").val(100).slider("refresh");
When programmatically changing items in a form, such as adding options to a select, you need to call the refresh function on the item. Following are some examples of adjusting form elements using jQuery and then refreshing them.
Read now
Unlock full access