A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Saving a Javascript file in Notepad..

  1. #1
    Senior Member Genesis F5's Avatar
    Join Date
    Jan 2002
    Location
    Unallocated memory
    Posts
    1,845

    Saving a Javascript file in Notepad..

    I scripted a java file to load by multiple pages in notepad, only to find when I saved it as myfile.js, it saves it as myfile.js.txt, and refuses to save it no matter what I do as a javascript file... I tried saving it as "text only", "all files" and all of the above, but nothing works... How do I save my code sa just a java file?


    It's also being done on a windows 98 machine if that would be any reason for it not saving... I know you can't hold control s to save a doc in win98 notepad, so maybe it won't save the .js extension... :-\


    Any help would be greatly appreciated... thanks...


    -genesis f5 (genesis mx)

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Hi,

    Try putting quotes around the filename,

    "myfile.js"

  3. #3
    Senior Member Genesis F5's Avatar
    Join Date
    Jan 2002
    Location
    Unallocated memory
    Posts
    1,845
    Thank's for the help Catbert...


    -genesis f5 (genesis mx)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center