I have some script files that end in .js but they wont work. They are actually just plain "text documents". How do I change them into real script files that work.
Well, looking in windows exploer they show up under the file type as "JScript Script File" and "XML Document" which these ones work. they also have a Dreamweaver icon. Now the other ones just show up as a "Text Document" and these don't work. These ones show a notepad icon.
Just remove the ending .txt and all should be fine. Many are posted with an ending .txt so that if they are clicked, they will appear correctly in a browser.
They probably DO have an ending .txt that Windows isn't showing you in the browser. Otherwise, they wouldn't be showing as text files in Windows Explorer. Try renaming them anyway ending the new name with .js. You may also want to turn off the Windows Explorer option to "Hide file extensions for known file types".