Reputation: 15032
My jQuery UI slider works fine in chrome, FF and IE10, but when it comes to IE9 slider doesnt even show up
Heres a sample of slider call:
$( "#slider-range-min-amount" ).slider({
range: "min",
value: castka,
min: 500,
max: 5000,
slide: function( event, ui ) {
$( "#amount" ).val( ui.value + " Kč" );
$( "#amountsend" ).val( ui.value );
spoctiKlientVrati();
},
step: 500
});
http://ideone.com/x22RMC (the whole original script check line 9 and beneath)
Anyone knows what might cause this problem?
EDIT versions: jQuery v1.9.1 + jquery-migrate-1.2.1.min.js , jQuery UI - v1.10.3
ps: sorry no double call, I misslooked other one was css :)
EDIT 2 I finally unistalled IE10 update to fall back to IE9 now my IE9 is showing the sliders but http://netrenderer.com/ wont show them and shows some error - screen: http://pbrd.co/1dbbaaG - so I guess client's IE9 wont show it too :/
Upvotes: 1
Views: 1196
Reputation: 4278
Take away console.log. I find this causes issues in IE9 (this is because console does not become defined in IE9 until you open up the developer tools)
I can see at least one instance of it at the very bottom in your else statement.
EDIT: And another one near the top
Also check to make sure the version of IE you're running in isn't in quirks mode or something incompatible with jQuery. You can do this by opening the IE developer tools with f12 and in the menus at the top, on the far right you can select the document mode. Make sure this is set to IE9 standards.
Upvotes: 1