Javascript SCRIPT438:对象没有';t支持属性或方法';Jcrop';,关于IE 10
有些时候,这个问题出现在IE 10、9等上。我如何解决这个问题。因为不是fanny,每个脚本都是一个接一个地包含的,没有任何内容不在plus中,jCrop是在文档就绪的情况下运行的 我怎样才能解决这个问题Javascript SCRIPT438:对象没有';t支持属性或方法';Jcrop';,关于IE 10,javascript,jquery,internet-explorer,jcrop,Javascript,Jquery,Internet Explorer,Jcrop,有些时候,这个问题出现在IE 10、9等上。我如何解决这个问题。因为不是fanny,每个脚本都是一个接一个地包含的,没有任何内容不在plus中,jCrop是在文档就绪的情况下运行的 我怎样才能解决这个问题 //some code var this_ = this; this.editedSingatureImage = document.createElement("img"); document.body.appendChild( this.editedSingatureImage);
//some code
var this_ = this;
this.editedSingatureImage = document.createElement("img");
document.body.appendChild( this.editedSingatureImage);
jQuery(document).ready(function(){
jcrop_api = jQuery.Jcrop(jQuery(this_.editedSingatureImage), {
bgColor: '#eee',
setSelect: defaultCoordentes,
onSelect: function (c) {
//my code
}
});
});
给我们看一些代码。错误意味着存在问题。您可以看到示例,没有什么比“每个脚本都一个接一个地包含,没有任何内容不在”更复杂的了。显示
标记。我一个接一个地包含脚本,但有时在刷新时,我们会收到缺少Jcrop类的问题。这个问题只出现在IE上