Sounds like AJAX is your answer, there are lots of AJAX libraries out
there that have examples on this.

J

On Nov 2, 10:31 am, d <ryan.z.willi...@gmail.com> wrote:
> URGENT!
> The following is my django code. I would like to have 3 column drop-
> down list.
>
> a member can select his location.
> when a country is selected, then all states for that country will
> display. the same thing happens to city.
>
> Now, I know it has something to do with Javascript. The question is
> there is no good tutorial for that
>
> Please help me. It is super urgent
>
> If you want to show links or code, it must come with a real working
> demo. I have gone thought all links found on google.
>
> Please direct me to the right direction. a simple step by step
> instruction is very helpful
>
> thanks
> ------------------------------------------------------------
> from django.db import models
>
> class Member(models.Model):
>
>        residing_country = models.CharField(max_length=50)
>        residing_state = models.CharField(max_length=50)
>        residing_city = models.CharField(max_length=50)
>
> class Country(models.Model):
>
>          country= models.CharField(max_length=20)
>
> class State(models.Model):
>
>          state=models.CharField(max_length=20)
>          country = models.ForeignKey(Country)
>
> class City(models.Model):
>
>         city=models.CharField(max_length=20)
>         state=models.ForeignKey(State)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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