Re: Need help adding a JSCRIPT file

Originally Posted by
kelly60
I saved it as jscript_padiact.js but in the cpanel when creating a file, right below the box for putting the new name there is a drop box that is defaulted at "text document". The other choices are HTML Document, PERL script, SHELL script. I left the default there and clicked "create"...thats what I meant by making it a txt document.
I see a script error in jscript_padlact.js file..
you should not have any html tags in a js file, remove them and it should work.
Code:
<!-- PadiAct Code -->
<script type="text/javascript">
code section...
</script>
Dave
Always forward thinking... Lost my mind!