开发者

Refresh div content without reload page?

开发者 https://www.devze.com 2023-03-11 07:18 出处:网络
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:

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

精彩评论

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