hi, I'm new to django and dont know much of javascript either. I would like to start working on them. Could someone help me write a simple form which can provide any functionality using ajax, preferably using jquery libraries. It would be great if any event other than the submit event is recognised using ajax, something which connects to the database would be preferable.
I've used ajax in web2py. But here in django I'm not able to understand the flow of a form. Here in django, forms are created by declaring a class in a seperate file. In web2py, it was clear and obvious of how to recognize a input or click or onchange event for a particular input field. But here I dont understand where to catch the event. Do i need to write the code in template file or in view file. If i write it in template file(which i'm thinking is the way), how to send the input entered(before the user submits the form) to the view file. All i want to do is, to capture a change/input event on a form before the user submits and dynamically create an extra field in the form/change the options of a field already present in the form, based on the input 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 email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---