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
1 12:05:00
To: Django users
Reply-To: django-users@googlegroups.com
Subject: ajax select box
hello everybody...
i want to have an advanced search option...
i have a college database.. which has city state and other things ..
now i want to provide a search system to user such that they can
searc
hello everybody...
i want to have an advanced search option...
i have a college database.. which has city state and other things ..
now i want to provide a search system to user such that they can
search colleges by city and states and names
i have given select box for states and city..
now
7 matches
Mail list logo