Some Simple JavaScript Functions
(Page 1 of 4 )
JavaScript can be one of the most useful additions to any web page. In this article, Annette shows us five quick 'n' easy ways that we can use JavaScript to add a touch of functionality to our web pages.JavaScript can be one of the most useful additions to any web page. It comes bundled with Microsoft Internet Explorer and Netscape Navigator and it allows us to perform field validations, mouse-over images, open popup windows, and a slew of other things.
If you have any experience with C, C++, PHP or Java, then you'll be glad to know that the syntax of JavaScript is very similar.
In this article I will show you how to:
- Display the browser name and version number
- Change the text in the status bar of the browser
- Use an input box to get text from the user
- Use a message box to display text to the user
- Change the title of the browser window
This article was designed to teach the ropes of JavaScript functions by jumping right into the deep end and using some simple examples. If you've never used JavaScript before, then take a look at the links at the bottom of the last page of this article.
Next: JavaScript functions >>
More JavaScript Articles
More By Annette Tennison