加载到div不能在IE8中工作 [英] Loading into div not working in IE8
本文介绍了加载到div不能在IE8中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经编写了一个代码,用于将外部页面加载到一个div中,在Firefox中工作正常但在IE8中没有。请帮我解决这个问题。
$( function (){
$ .get(' msg.php' ,{}, function (data){
setInterval( function ()
{
$(' #chatbox')。load(' msg.php',data);
}, 0 。 5 );
});
});
它在我的div聊天框中没有显示任何内容
解决方案
( function (){
.get(' msg.php',{}, functio n (数据){
setInterval( function ()
{
(< span class =code-string>' #chatbox')。load(' msg.php',data);
}, 0 。 5 );
});
});
我的div聊天框中没有显示任何内容
Hi,
I have written a code to load an external page into a div thats working fine in Firefox but not in IE8. Pls help me to solve this.
$(function(){
$.get('msg.php',{},function(data){
setInterval(function()
{
$('#chatbox').load('msg.php',data);
}, 0.5);
});
});
its not displaying anything in my div chatbox
解决方案
(function(){
.get('msg.php',{},function(data){ setInterval(function() {
('#chatbox').load('msg.php',data); }, 0.5); }); });
its not displaying anything in my div chatbox
这篇关于加载到div不能在IE8中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文