Unit3.3-JavaScript
Home | About UOU | About CEMCA | Contact Us
| |||||||||
|
3.3.5 JavaScriptHTML is static and allows a very minimum interaction with users by providing hyperlinks. Processing user request is generally done via scripts, Scripts are small program that are based on the server. JavaScript is a scripting language created by Netscape. JavaScript is an object based language that allows creation of interactive web pages. This provides a power to the web site to return information according to a user’s requests. The web site development environment should also provide facility for validating user input. The advantages of JavaScript: 1. JavaScript is an interpreted language; syntax is interpreted by the browser. JavaScript can be embedded into a HTML file within the <SCRIPT>… … …. </SCRIPT> tag. Syntax: <SCRIPT LANGUAGE=”JavaScript”> The programming capabilities of the JavaScript are same as other programming languages i.e. data types, variables, constants, programming constructs, user defined functions etc. |
|