bharani, Justin just provided a simple code to show you how to "refresh" the same content. It's up to you to decide "what" the new content is you want the div to be "refreshed" with is.
How are you getting your "refreshed" content? Is it through AJAX? On Aug 12, 5:05 pm, bharani kumar <bharanikumariyer...@gmail.com> wrote: > How the snippet work..there is simply html ...can u plz explain... > > On Thu, Aug 13, 2009 at 5:00 AM, Justin Volpato > <jus...@rivalwebdesign.com>wrote: > > > > > > > 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 <bharanikumariyer...@gmail.com> > > 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 > > -- > Regards > B.S.Bharanikumarhttp://php-mysql-jquery.blogspot.com/