i've written something similar to Dajax..
but i don't think that's a good solution..
and i'll not use it in my new project..
it goes the opposite of django philosophy..to design url explicitly..
url should be well mantained..
..and can be used as an api..as similar as possible
i thought..
On 5月9日
I've used "Django smart selects" recently for what you want to do and it
worked well - https://github.com/digi604/django-smart-selects
Goodwin
--
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@go
Hallo
You can use Dajax(ice) to solve your issue.
First Dajax and Dajaxice must be installed.
In your select box for countries add event 'onchange' i.e.:
onchange="Dajaxice.ajax.getCitiesByCountry('Dajax.process', {'name':this.name,
'value':this.value})">
According to this example you must have
but i dont know about jquery or ajax, can i get any example from any
site , can u provide any link which has such code written
On May 7, 12:10 pm, Shawn Milochik wrote:
> You'll need to write JavaScript.
>
> Specifically:
>
> Write a function that uses AJAX to pass the state to a Django view
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
Google jquery or ajax for related select boxes. I'm sure you'd get good written
codes to tweak for your purpose.
All the best.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: pankaj sharma
Sender: django-users@googlegroups.com
Date: Sat, 7 May 2011 12:05:00
6 matches
Mail list logo