Set Selected Value In Dropdown Does Not Show In JQuery Uniform

This one was a pain. I did not expect that JQuery Uniform has this behavior of requiring users to call the update() function in order to display a dropdown’s newly selected value.

Since JQuery Uniform was about styling, I never really bothered to think that this was the culprit.

Anyway, to have the dropdown display the newly selected value, make sure you call the update() function like this:

Or, if you have no care about performance issues, then you can call the same function without any parameter to update all form field elements like this:

Related Posts Plugin for WordPress, Blogger...

Post a Comment