Hi guys,
I have another problem with comboboxes. I’m able to change selected item(I can select option by value), but I’m unable to overwrite displayed text.
For example, I have combo with two options(menu1, menu2). In one screen, I select the menu2(by interacting with app), in another screen I remove menu2, but if I go to last screen, menu2 is written on combo, but after I click into combo, menu2 is removed(as it may be).
So my question is, how to change displayed text on combo box? I tried $(‘select[name=”accountCombo”] :selected’).text(”) – this cause, that menu after I click into combobox is empty(all options is removed), $(‘select[name=”accountCombo”] :selected’).attr(‘label’,’text’) changes label of option(also only when I click on combo).
I hope you can understand my question and can help me.
Thanks