I've created an external javascript file (xxx.js) so that I can use javascript on some of my pages. I put the link into the header.php file like the codex says and uploaded the file. I used
<script src="absolute_path"/xxx.js"></script>
The call I used was
onchange="hideFld()" (with the <SELECT> tag)
It is used on a FORM. (I am using Matt Wright's FormMail.pl to process my forms) When I test it on the page at http://www.tracyandcarol.com/the_tracy_times/why_im_blogging/contact_us/, it does not work. When I go into the page's HTML the call is not there anymore.
I've verified that the code works by linking the external file to a regular HTML page.
Can anybody tell me where I am going wrong?