Question
Add JavaScript Code to head
We use a customized button for submitting forms or links at
work. The code combines DHTML elements for the look and
functionality of the button. I've created an extension, and it adds
the HTML and CSS code, but when I try to add the JavaScript, I get
an error because DreamWeaver tries to parse the JavaScript as a
part of the extension.
I can't figure out how to get the JavaScript into the <head> of the document like the CSS. I've looked at numerous functions and I just can't find enough documentation to get a full understanding. Any help is greatly appreciated.
I can't figure out how to get the JavaScript into the <head> of the document like the CSS. I've looked at numerous functions and I just can't find enough documentation to get a full understanding. Any help is greatly appreciated.
