You'll need to write JavaScript.

Specifically:

Write a function that uses AJAX to pass the state to a Django view and receive the city list, then populate the city drop-down.

    Bind that function to the change event of your state drop-down box.

This isn't a Django question, though. If you have trouble doing that try a JavaScript mailing list.

I recommend using jQuery's .ajax() function for this.

Shawn





--
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.

Reply via email to