Eric Brouwer
Posts: 0
Joined: Thu Aug 30, 2012 10:31 am

mobileselectmenu1 does not work after setting a default value.

I do change the text on the mobileselectmenu1 with the following code.

$("select[dsid='mobileselectmenu1']").find("option").removeAttr("selected").parent().find("option:contains('Dutch')").attr("selected","selected").parent().selectmenu("refresh");

After this code is run and make a new selection, the event: value change, custom java script does not work anymore.

It only starts working again after i have selected the top value.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

mobileselectmenu1 does not work after setting a default value.

The code above doesn't work in Firefox, but works in Chrome.

Please try this code Tiggr('mobileselectmenu1').val('Dutch').selectmenu().refresh();

(should work in both browsers)

Eric Brouwer
Posts: 0
Joined: Thu Aug 30, 2012 10:31 am

mobileselectmenu1 does not work after setting a default value.

Thank you very much for the answer. This does work indeed in both browsers

Return to “Issues”