jquery Programming Glossary: ingredients
Passing list of values to django view via jQuery ajax call http://stackoverflow.com/questions/11176594/passing-list-of-values-to-django-view-via-jquery-ajax-call what I have so far jQuery var postUrl http localhost 8000 ingredients 'li' .click function values 1 2 .ajax url postUrl type 'POST'.. true dataType 'html' success function result '#ingredients' .append result ingredients view def ingredients request if.. success function result '#ingredients' .append result ingredients view def ingredients request if request.is_ajax ourid request.POST.get..
Passing list of values to django view via jQuery ajax call http://stackoverflow.com/questions/11176594/passing-list-of-values-to-django-view-via-jquery-ajax-call post and read 1 value but not multiple values. Here is what I have so far jQuery var postUrl http localhost 8000 ingredients 'li' .click function values 1 2 .ajax url postUrl type 'POST' data 'terid' values traditional true dataType 'html' success.. 1 2 .ajax url postUrl type 'POST' data 'terid' values traditional true dataType 'html' success function result '#ingredients' .append result ingredients view def ingredients request if request.is_ajax ourid request.POST.get 'terid' False ingredients.. 'POST' data 'terid' values traditional true dataType 'html' success function result '#ingredients' .append result ingredients view def ingredients request if request.is_ajax ourid request.POST.get 'terid' False ingredients Ingredience.objects.filter..
|