Javascript archive

barrett's picture

Drupal/AJAX: Exercise caution when using special foreign characters

I was recently working on a Brazilian Drupal 6.x site that uses CCK forms and needed some functionality to map a dropdown select list of states to another dropdown of cities in the chosen state, which I accomplished using a combination of the drupal_json function, as well as jQuery and AJAX, hooked into the drupal menu system. I learned how to use this functionality quite easily from Pro Drupal Development Chapter 17 - Using jQuery and have implemented it on a number of sites to date. Pro Drupal Development is definitely worth having as a desktop resource. Read More…