eduard Posted January 2, 2011 Share Posted January 2, 2011 To save a JavaScript file, do you use the extention .js or.jsx? Link to comment Share on other sites More sharing options...
iwato Posted January 2, 2011 Share Posted January 2, 2011 To save a JavaScript file, do you use the extention .js or.jsx?jsRoddy Link to comment Share on other sites More sharing options...
thescientist Posted January 2, 2011 Share Posted January 2, 2011 it never hurts to read the tutorials first....http://www.w3schools.com/js/js_whereto.asp Link to comment Share on other sites More sharing options...
justsomeguy Posted January 3, 2011 Share Posted January 3, 2011 Browsers don't care what the filename is, as long as you tell it it's a Javascript file. You can name your Javascript files .php if you really want to, as long as you include them in the page correctly. If you want to double-click a Javascript file in Windows and have the code executed by the script host, then that defaults to .js. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.