开发者

Refresh div content without reload page?

I'm having some trubles when update the div content without reload the page. I'm using jquery, php and mysql as well. Well I've tryed:

$('#divId').load("script.php", function(){
   someFunction();
});

But it's not working 开发者_运维技巧at all :( I apreciate some help, thank you.


Change:

$.('#divId').load("script.php", function(){
   someFunction();
})

To:

$('#divId').load('script.php', function(){
   someFunction();
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜