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...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">