My problem is that when I style say an input or dropdown box with jquery, I read its best to also have a fall back in case the browser does not like my non-default styling.
I am not asking how to style via jquery, what I am trying to do is add a fall back (use default styling) when there’s a browser problem.
I read this all the time but how to implement a fall back solution?
If you are planning to use JavaScript to style a
<select>or<input>field, I would suggest looking for a plugin that uses progressive enhancement, so that you don’t compromise usability in older browsers.Here’s a good one: Chosen