Jquery 引导模式无法使用IE显示数据
我有几个Bootstrap3模态。表的代码被放入javascript变量“html”中,然后显示在模式中Jquery 引导模式无法使用IE显示数据,jquery,twitter-bootstrap,internet-explorer,bootstrap-modal,Jquery,Twitter Bootstrap,Internet Explorer,Bootstrap Modal,我有几个Bootstrap3模态。表的代码被放入javascript变量“html”中,然后显示在模式中 $(document).ready(function () {var html='<table> …….Table code goes here………….</TABLE></div>'; $('#posttable').html(html) }); $(document).ready(函数(){var html=) ……表格代码在此处…………'; $
$(document).ready(function () {var html='<table>
…….Table code goes here………….</TABLE></div>';
$('#posttable').html(html)
});
$(document).ready(函数(){var html=)
……表格代码在此处…………';
$('#posttable').html(html)
});
使用Jquery将此代码插入到span中
<span id="posttable"></span>
当您直接访问html页面时,这可以正常工作
但是,在IE11中,当作为模态视图查看时,该表无法显示
(单击顶部附近的“邮资、国家/地区和上次订购日期”)
注意:这只发生在IE上,Chrome+Firefox的一切都很好Add,这个脚本在中。记住,这个脚本应该在标记结束之前。oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js“>oss.maxcdn.com/respond/1.4.2/respond.min.js”>非常感谢Nana的建议,当然,html5shiv和respond js是9版之前IE版本的变通方法。我正在测试IE11.Add,这个脚本存在问题。记住,这个脚本应该在标记结束之前。oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js“>oss.maxcdn.com/respond/1.4.2/respond.min.js”>非常感谢Nana的建议,当然,html5shiv和respond js是9版之前IE版本的变通方法。我正在用IE11进行测试,但有问题。