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 <sh...@milochik.com> wrote: > 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 you have trouble doing that try > a JavaScript mailing list. > > I recommend using jQuery's .ajax() function for this. > > Shawn -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.