How to run Javascript??

Discussion in 'JavaScript' started by selfspirit50, Apr 5, 2006.

  1. #1
    I have a doubt of running javascript. i have the code but dont know to run the program.
     
    selfspirit50, Apr 5, 2006 IP
  2. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #2
    Usually, it's place in a html file to use through a browser. e.g.

    <script language="javascript"><!-- Your JS here --></script>

    I don't know about Windows, Mac and the other OSes out there, but I think Linux has some libs or an interprator so that JS can be used natively in the OS.
     
    ryan_uk, Apr 5, 2006 IP