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.Bharanikumar
http://php-mysql-jquery.blogspot.com/

Reply via email to