开发者

Internet Explorer Error

The main error shown in IE is : ' Could not complete the operation due to error 80020101.' The error is displayed when the ExtJS framework tries to load a page containing a Ext grid component through an ajax request.

It 开发者_如何学Pythonworks without problems in Firefox and Chrome.

Another error which is shown by IE is 'Expected identifier, string or number' which points to the line containing HTML inline style definition which is perfectly valid. I am not sure why this error is shown. I feel IE is pointing this error to the wrong place.

Could anyone please help me out on this?


"Could not complete the operation" errors in IE are usually caused by trying to modify the DOM before it is ready.

Move the JS so it fires in (for example) the onload event, or a JS library's ondomready event.


If you are loading a page using ajax and it has a inline script file like below add // before the open comment tag

<script type="text/javascript">
// <!--
  alert('text');
// -->
</script>

http://dracoblue.net/dev/could-not-complete-the-operation-due-to-error-80020101/137/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜