I came across one annoying error while coding in javascript for IE.
After debugging for several hours, commenting, uncommenting the parts of code I identified that accessing body element in the javascript before entire body element is formed, will throw the alert of 'Permission Denied' which is unrelated to what ever the actual problem is.
This happens only with IE.
After debugging for several hours, commenting, uncommenting the parts of code I identified that accessing body element in the javascript before entire body element is formed, will throw the alert of 'Permission Denied' which is unrelated to what ever the actual problem is.
This happens only with IE.
So the solution for this IE only problem is add defer attribute to the
script tags manipulating body element.
Like
...access body element...
<script type="text/javascript" defer>
...access body element...
</script>
Comments
Javascript Training in Chennai | HTML5 Online Training
JavaScript Training Courses | Javascript Online Training | Angular 2 Training in Chennai
JavaScript Training in CHennai HTML5 Training in Chennai HTML5 Training in Chennai JQuery Training in Chennai JQuery Training in Chennai JavaScript Training in Chennai JavaScript Training in Chennai
JavaScript Training in CHennai JavaScript Training in CHennai JQuery Online Training JQuery Online Training
HTML5 CSS3 JavaScript Training in Chennai | HTML5 Online Training
Javascript Training in Chennai | HTML5 Online Training
JavaScript Training Courses | Javascript Online Training | Angular 2 Training in Chennai
JavaScript Training in CHennai HTML5 Training in Chennai HTML5 Training in Chennai JQuery Training in Chennai JQuery Training in Chennai JavaScript Training in Chennai JavaScript Training in Chennai
JavaScript Training in CHennai JavaScript Training in CHennai JQuery Online Training JQuery Online Training
HTML5 CSS3 JavaScript Training in Chennai | HTML5 Online Training