jQuery(formElement).val(null) : inconsistent results in different browsers
- by Shehi
Code is here:
http://jsfiddle.net/jf7t2/1/
Please run it on the latest versions of all browsers, and see for yourself. When the button is clicked, on:
on Chrome (and Safari of course) it just doesn't select anything, instead creates some ghostly empty option
on Firefox and Opera, it works the way I expect and want it to work, resets the element value
on Explorer, it does nothing
So, which one is expected behaviour? Thanks.