Hi, I have just done it, using jquery, and I'm also new to this but it was very easy. The logic I used is as follow: I had a preexisting view where a user selects various criteria to add to a blog entry like theme, geographical zone, tags... a jquery script tracks the user inputs and for each change sends a POST to a view that I wrote to search for related items that returns back a json list that jquery reads to populate an html select multiple with the blog entries' id in the value so when the user saves the blog entry, it passes all the info as POST again to another view including the id of 0 or more other blog entries that might be related and have been selected by the user.
I hope it's understandable and helps, Bastien On May 11, 8:18 am, jai <jayapa...@gmail.com> wrote: > You can use Dojo or jquerry. > > On May 11, 10:44 am, newbie <mara.ku...@gmail.com> wrote: > > > > > Hi, > > > I'm new to django and also ajax. I want to create a form > > which has a select box and based on the selection made, the options of > > another select box are generated. I've achieved this task in web2py > > but i'm porting my application into django and cudnt find a good start > > using ajax in django. So it wud be of a great help if some1 cud help > > me in this regard. > > > thanks, > > nazgi. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---