Click here to Skip to main content
11,636,889 members (68,839 online)
Rate this: bad
Please Sign up or sign in to vote.
Dear Friends,

I am Displaying few data in a DIV tag and the data gets updated often.
Right now I am refreshing the whole page and displaying the updated data.

But i just want only the DIV tag content to be reloaded.
Can any one help me on this.

Posted 11-Jun-12 21:21pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can achieve it using AJAX. Tradition Javascript based or jQuery.

Using tradition AJAX - XMLHttpRequest, have a look at these:
XMLHttpRequest Object[^]
XMLHTTPRequest with Sample[^]
Using the XML HTTP Request object[^]

Using the jQuery based AJAX, have a look at these:[^][^][^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 stibee 313
1 295
2 OriginalGriff 285
3 Suvendu Shekhar Giri 205
4 Sergey Alexandrovich Kryukov 194
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320

Advertise | Privacy | Mobile
Web03 | 2.8.150728.1 | Last Updated 12 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100