Support » Fixing WordPress » Disappearing JavaScript

  • 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 to process my forms) When I test it on the page at, 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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Disappearing JavaScript’ is closed to new replies.