I have a form that works fine outside of drupal where it called a script ..../default.js However this does not work inside drupal 6 when i copy the code from ym html/php file.
I have seen this line
drupal_add_js('globals/default.js');
Is this all I need to add to get the JS read? I have the php filter in Drupal 6 set to allow pretty much all tags for the administrator.