View Single Post
Old 01-12-2013, 08:58 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,462
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Most JavaScript runs in a web page - you attach the JavaScript into the web page using the HTML <script> tag.

See http://javascriptexample.net/basics01.php for a basic example of how to attach JavaScript to a web page so that it runs when the web page loads.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote