On Wed, Dec 2, 2009 at 1:36 PM, jul <juj...@gmail.com> wrote:
> How can I return these objects to the javascript in my template?

if you're using jQuery's elm.load(url) function, you have to return an
HTML fragment to replace the one already in the browser; so use a
template that renders just this fragment.

if you use a JavaScript template (there are several jQuery plugins),
just return the data in JSON.


-- 
Javier

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to