Page 1 of 1

mobileselectmenu1 does not work after setting a default value.

Posted: Mon Nov 19, 2012 9:35 am
by Eric Brouwer

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.


mobileselectmenu1 does not work after setting a default value.

Posted: Mon Nov 19, 2012 12:27 pm
by Maryna Brodina

Hello! We'll test


mobileselectmenu1 does not work after setting a default value.

Posted: Mon Nov 19, 2012 1:01 pm
by Maryna Brodina

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)


mobileselectmenu1 does not work after setting a default value.

Posted: Tue Nov 20, 2012 7:26 am
by Eric Brouwer

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