-1

In my Previous question IE rips decimals after two places I've asked if I can change the number of decimal places that ie i taking. as an experiment i've tried giving width dynamically to a div in this Fiddle.

Please open the above fiddle in IE and also in any other browser.

I want to know why this is happening in IE and not in rest.Please help.

This may also gives me a hope in deducing an answer for my prev question.

Thanks in advance.

P.S: I'm using IE10

Community
  • 1
  • 1
Green Wizard
  • 3,507
  • 4
  • 18
  • 29

1 Answers1

0

Try This

$("div").css("width", myWidth);

This could also be the jQuery version issue. I used <script src="//code.jquery.com/jquery-1.9.1.js"></script>

Make sure the jQuery that you are using is accessible. Its throwing a console error in the fiddle too. enter image description here

Hope this helps.

A J
  • 2,112
  • 15
  • 24
  • @GreenWizard: its a console error .. SCRIPT5: Access is denied.. check it. The jQuery is not reachable. – A J Mar 04 '14 at 12:33