You need to select option
either by [value=1]
or give it a class .default
for example.
$('#select_id').val(1);
And then refresh .selectmenu('refresh')
for re-enhancement.
$('#select_id').selectmenu('refresh');
More Related Contents:
- JQM (jQueryMobile) Dynamically added elements not displaying correctly and CSS is not applied
- jQuery – draggable images on iPad / iPhone – how to integrate event.preventDefault();?
- Dynamically adding to in jquery mobile
- Why I have to put all the script to index.html in jquery mobile
- Can I open a dropdownlist using jQuery
- iframe to Only Show a Certain Part of the Page
- How to force a html5 form validation without submitting it via jQuery
- Play/pause HTML 5 video using JQuery
- How to set data attributes in HTML elements
- How to automatically change the text size inside a div?
- jquery IE Fadein and Fadeout Opacity
- jQuery html() in Firefox (uses .innerHTML) ignores DOM changes
- Activate CSS3 animation when the content scrolls into view
- Store JSON object in data attribute in HTML jQuery
- Hide Twitter Bootstrap nav collapse on click
- Jquery datepicker restrict dates in second date field based on selected date in first date field
- Jquery click event not working after append method
- current/duration time of html5 video?
- How to bind to localStorage change event using jQuery for all browsers?
- Selecting only first-level elements in jquery
- How to swipe top down JQuery mobile
- get html of external url in jquery
- How to make Bootstrap carousel slider use mobile left/right swipe
- What’s the difference between class and id in jQuery?
- Google Map v3 auto refresh Markers only
- jquery can’t get data attribute value
- Animate counter when in viewport
- Async and document ready
- How can I change text after time using jQuery?
- jQuery Mobile: Sending data from one page to the another