Script Error Only In Ie10 / Works Perfect In All Other Browsers
I use the following script to replace dropdowns into regular links. This works perfectly in firefox, chrome, safari and ie11 but does not work in ie10 and below. The script: functi
Solution 1:
Why are you mixing jQuery and Prototype? It would be best to go with one or the other.
Also, here is the source of your issue:
var obj = drop_down.get();
Event.observe(obj[0],'change',function(){});
fireEvent(obj[0],'change');
The call to drop_down.get()
returns a native DOM node, yet you are using it like a jQuery object. Replace all instances of obj[0]
with just obj
.
Post a Comment for "Script Error Only In Ie10 / Works Perfect In All Other Browsers"