Hi!
Except to use $(document).ready(function(){...});, Drupal have a wrapp
ti help you in this type of use:Drupal.behaviors (http://api.drupal.org/api/drupal/developer--topics--javascript_startup_guide.html/6#Drupal.behaviors) You can learn a lot about using JS/Jquery in Drupal at: http://api.drupal.org/api/drupal/developer--topics--javascript_startup_guide.html/6 Ramon -- Ramon Vilar Gavaldà - http://ramonvilar.facil.cat - http://blog.facilitant.net Membre de FÀCIL - http://www.facil.cat Membre de l'esplai SESA - http://www.esplaisesa.org
