Re: ajax select box

2011-05-14 Thread gusheng
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

Re: ajax select box

2011-05-09 Thread Goodwin
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

Re: ajax select box

2011-05-08 Thread Ogi Vranesic
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

Re: ajax select box

2011-05-08 Thread pankaj sharma
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

Re: ajax select box

2011-05-07 Thread Shawn Milochik
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

Re: ajax select box

2011-05-07 Thread delegbede
ps.com Date: Sat, 7 May 2011 12:05:00 To: Django users<django-users@googlegroups.com> 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 wan

ajax select box

2011-05-07 Thread pankaj sharma
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..