1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Plain Text Please

Saturday July 26, 2008
JavaScript requires a plain text editor

One problem that a lot of people who are new to JavaScript have when following the instructions on how to copy someone's script onto their site is that they use the wrong editor (or rather save the output in the wrong format). JavaScript files need to be plain text if you want them to work - saving as rich text or as a Word document are amongst the easiest ways for a newcomer to JavaScript to set up the script so that everything looks right and which then leaves them wondering why the code doesn't work.

Plain Text Please
Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.