Basically, you need to get the data from the server using Ajax, and then modify the DOM to show the received data to the user.
The easiest way I know is using jQuery, a JavaScript library that will spare you some headaches. The get (or ajax) methods should help you.
On Monday, April 14, 2014 8:57:43 AM UTC-5, Saransh Mehta wrote:
-- The easiest way I know is using jQuery, a JavaScript library that will spare you some headaches. The get (or ajax) methods should help you.
On Monday, April 14, 2014 8:57:43 AM UTC-5, Saransh Mehta wrote:
Can you provide me with some links on how to do that?
On Monday, April 14, 2014 5:59:24 PM UTC+5:30, Saransh Mehta wrote:I want some data to autoupdate on my homepage as more entries come into the database. It is more or less like the news feed feature of Facebook.How do we do that?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c01d2b2a-d42c-4094-bc45-5b3f75cd8f6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment