[jQuery] Re: Refresh DIV with full page refresh
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.comwrote: 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/
[jQuery] Re: Refresh DIV with full page refresh
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
[jQuery] Re: Refresh DIV with full page refresh
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.comwrote: 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/
[jQuery] Re: Refresh DIV with full page refresh
What exactly do you mean by 'refresh DIV' ?If you want to get some content in the page and update the DIV without loading/refreshing the entire page, then you should use ajax calls to your server. If you can explain what you want in a bit more detail perhaps I could help you a bit more. Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 11, 2009 at 6:28 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
[jQuery] Re: Refresh DIV with full page refresh
We can refresh one DIV jquery script, wiht out entire page refresh ... On Tue, Aug 11, 2009 at 6:30 PM, Dhruva Sagar dhruva.sa...@gmail.comwrote: What exactly do you mean by 'refresh DIV' ?If you want to get some content in the page and update the DIV without loading/refreshing the entire page, then you should use ajax calls to your server. If you can explain what you want in a bit more detail perhaps I could help you a bit more. Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 11, 2009 at 6:28 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/
[jQuery] Re: Refresh DIV with full page refresh
$("div").refresh() that function should give you as much success as trying to understand the *details* of your request. bharani kumar wrote: We can refresh one DIV jquery script, wiht out entire page refresh ... On Tue, Aug 11, 2009 at 6:30 PM, Dhruva Sagar dhruva.sa...@gmail.com wrote: What exactly do you mean by 'refresh DIV' ? If you want to get some content in the page and update the DIV without loading/refreshing the entire page, then you should use ajax calls to your server. If you can explain what you want in a bit more detail perhaps I could help you a bit more. Thanks Regards, Dhruva Sagar. Ogden Nash - "The trouble with a kitten is that when it grows up, it's always a cat." On Tue, Aug 11, 2009 at 6:28 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/
[jQuery] Re: Refresh DIV with full page refresh
Be nice :p, obviously his first language is not English. you should be using jQuery's ajax functions. http://docs.jquery.com/Ajax Charlie wrote: $(div).refresh() that function should give you as much success as trying to understand the *details* of your request. bharani kumar wrote: We can refresh one DIV jquery script, wiht out entire page refresh ... On Tue, Aug 11, 2009 at 6:30 PM, Dhruva Sagar dhruva.sa...@gmail.com mailto:dhruva.sa...@gmail.com wrote: What exactly do you mean by 'refresh DIV' ? If you want to get some content in the page and update the DIV without loading/refreshing the entire page, then you should use ajax calls to your server. If you can explain what you want in a bit more detail perhaps I could help you a bit more. Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 11, 2009 at 6:28 PM, bharani kumar bharanikumariyer...@gmail.com mailto: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/
[jQuery] Re: Refresh DIV with full page refresh
not an too twisted question ya.. what is the jquery snippet for refresh a DIV , On Tue, Aug 11, 2009 at 7:15 PM, Liam Potter radioactiv...@gmail.comwrote: Be nice :p, obviously his first language is not English. you should be using jQuery's ajax functions. http://docs.jquery.com/Ajax Charlie wrote: $(div).refresh() that function should give you as much success as trying to understand the *details* of your request. bharani kumar wrote: We can refresh one DIV jquery script, wiht out entire page refresh ... On Tue, Aug 11, 2009 at 6:30 PM, Dhruva Sagar dhruva.sa...@gmail.commailto: dhruva.sa...@gmail.com wrote: What exactly do you mean by 'refresh DIV' ? If you want to get some content in the page and update the DIV without loading/refreshing the entire page, then you should use ajax calls to your server. If you can explain what you want in a bit more detail perhaps I could help you a bit more. Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 11, 2009 at 6:28 PM, bharani kumar bharanikumariyer...@gmail.com mailto: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/ -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/