msdropdown - How to make option selected? -


i'm trying set value dropdown after ajax call.

i have tried below set option value.

odropdown.set("selectedindex", 2); 

though value selected in hidden original select box not showing on msdropdown select box.

anyone know how select option after ajax call?

if cannot see elements

odropdown.refresh(); 

and before:

odropdown.set("selectedindex", 2); 

resolve problem? :p


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -