Your Ad Here

Saturday, January 7, 2012

Re: input of one select box into another

I am looking for same answer. 

Currently this is what i was doing:

1. load javascript into form page
2. for each select box, call ajax to return next select box value
example:
 
1. form loaded, select box 1 has values
2. user choose values from select box 1, get select box 2 values with select box 1 chosen value, same on select box 3

has anyone did the same? or is there an easy/correct way to do this?


On 7 January 2012 07:02, inzaghi <naveen.arjunan@gmail.com> wrote:
I have a form with two select boxes. the input of one will be used to
determine what gets loaded in the other.
In essence the second select box could have data populated into it
from
different models.

1 how would I do this ? and
2.How would I accomplish this without reloading the page ?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 comments:

Post a Comment