dojo在ie和chrome、firefox中的语法区别

2010-10-25 956 0

在ie中的语法

tab = new dijit.layout.BorderContainer({

    id: targetId,

    title: title,

    closable: true,

    refreshOnShow: false

});

其他浏览器的语法

tab = new dijit.layout.BorderContainer({

    id: targetId,

    title: title,

    closable: true,

    refreshOnShow: false,

});
区别就是在句末的“,”的添加,按照语句规则,最后添加是没有问题,但是在ie中却认为这是个错误,建议在使用按照ie中的写法来写。

相关文章

免费白嫖DeepSeek-R1:Novita AI注册指南与真实体验
SiliconFlow API test: a stable deepseek AI interface service platform that programmers must have
SiliconFlow API实测:程序员必备的稳定 deepseek AI接口服务平台
DeepSeek R1 的强大实力:R1的飞跃
代码里的年味
15年来的手艺之路:手艺人赵鹏的自述

发布评论