> And (obviously?) dont rely on the correct make and model coming back
> from your form. You'll eventually get someone constructing their own
> POST data for a laugh and seeing what happens if they had selected
> Renault Impala... :)

Here's example source for an implementation of just that in Django:

http://tinyurl.com/f8zq8

This implementation loads all the possible values for child selects
instead of making a new request every time a selection is made in the
parent, and uses the following script on the client side to display
the new items:
http://www.jonathanbuchanan.plus.com/repos/js-utils/10-selectupdater.html

If you want a script which can make a request every time you select a
value which it doesn't already have child select data for, you might
be interested in this one instead (NB: the demo form is not live):
http://www.jonathanbuchanan.plus.com/repos/js-utils/01-selectloader.html

Jonathan.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to