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();
});
精彩评论