Assuming you are looking to simply reset div1 to its original
contents, you would save the contents of it to a variable on page load
and then load it into the div again when you 'refresh' it.
$(function(){
var div1 = $("#div1").html();
$("#refreshButton").click(function(){
$("#div1").html(div1);
});
});
On Aug 11, 10:58 pm, bharani kumar
wrote:
> Hi All ,
>
> How to refresh DIV , without refresh entire page,
>
> Am having four DIV ,
>
> DIV1,DIV2,DIV3,DIV4
>
> I want to refresh only DIV! without affecting the DIV3,DIV4 ,
>
> Thanks