value hardcoded in it, right? Like using {{ }} tags.
Is there a way to do this if there's a separate .js file?
- Gabriel
On Mon, Mar 4, 2013 at 1:41 PM, Shawn Milochik <shawn@milochik.com> wrote:
On Mon, Mar 4, 2013 at 1:41 PM, Shawn Milochik <shawn@milochik.com> wrote:
Probably consume the view with AJAX, doing a POST on the change event
of the slider.
http://api.jquery.com/category/ajax/
Put your result in a dictionary within your view and return it as JSON:
return HttpResponse(json.dumps(result), mimetype="application/json")
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment