Re: processing POST data from jquery

2011-04-10 Thread het.oosten
That was exactly what i needed. I didn't think of changing the javascript data. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send

Re: processing POST data from jquery

2011-04-10 Thread gladys
Remember that request.POST returns a dictionary. I think your variable should be: message = request.POST['your_post_variable_name'] and try changing the data in javascript to data = {'your_post_variable_name' : t.value} Goodluck. -- Gladys http://bixly.com On Apr 11, 3:58 am, "het.oosten" w

processing POST data from jquery

2011-04-10 Thread het.oosten
I am trying to get a jquery form validator working. I am stuck now trying to work with the POST data. When i use a simple view for testing: def Code(request): if request.method == 'POST': message = request.POST data = dict(ok=True, msg=message)