On Tue, 2011-08-16 at 15:45 +0530, Amit Sethi wrote:
> > without ajax:
> >
> > 1. override __init__ on your modelform, pass the value of the first
> > dropdown to __init__ and populate the second dropdown depending on
> that
> > value. If the value is None, the second dropdown will not be
> populat
[..]
> without ajax:
>
> 1. override __init__ on your modelform, pass the value of the first
> dropdown to __init__ and populate the second dropdown depending on that
> value. If the value is None, the second dropdown will not be populated.
>
> 2. in your template, refresh the page when the value o
On Tue, 2011-08-16 at 05:46 +, Asif Jamadar wrote:
> I have two dropdowns one dropdown is dependent on other (Ex.
> Country/State dropdowns)
>
> Now how can I implement this thing in django?
>
> I'm using modelform concept to display form which having two dropdowns
>
> Any sugtgestions?
wi
On Tue, Aug 16, 2011 at 11:16 AM, Asif Jamadar wrote:
> I have two dropdowns one dropdown is dependent on other (Ex. Country/State
> dropdowns)
>
> Now how can I implement this thing in django?
[...]
This is probably best done with a layer on top of
Javascript: I would recommend jQuery. Dependin
On Tuesday 16 August 2011 11:16 AM, Asif Jamadar wrote:
I have two dropdowns one dropdown is dependent on other (Ex. Country/State
dropdowns)
Now how can I implement this thing in django?
I'm using modelform concept to display form which having two dropdowns
Any sugtgestions?
DOM manipulation
On Tue, 2011-08-16 at 05:50 +, Asif Jamadar wrote:
> Can you provide me example using ajax?
I do not do ajax - all the samples are proprietary.
--
regards
Kenneth Gonsalves
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/ma
Can you provide me example using ajax?
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.
On Tue, 2011-08-16 at 05:46 +, Asif Jamadar wrote:
> I have two dropdowns one dropdown is dependent on other (Ex.
> Country/State dropdowns)
>
> Now how can I implement this thing in django?
>
>
ajax
--
regards
Kenneth Gonsalves
___
BangPypers m
I have two dropdowns one dropdown is dependent on other (Ex. Country/State
dropdowns)
Now how can I implement this thing in django?
I'm using modelform concept to display form which having two dropdowns
Any sugtgestions?
___
BangPypers mailing list
Ba