Introduction to Javascript:
JavaScript is the most popular scripting language on the web because of its
simplicity and dynamic usage.
JavaScript enables the programmer to have the flexibility needed to create a
powerful, secured, traceable, and validated web page.
Advantages of using javascript:
Javascript gives you the flexibility you need to make you page powerfull,
secured, trackable, validatable and much more.So here is a few advantages that
this client script language has to offer:
-
Javascript is an alternative to server side script "more details later on"
-
Javascript is easily embedded to html page
-
No need to compile the code.
-
Javascript provide a good validation for the html controls
-
Javascript provide interactivity to your site.
-
JavaScript provides the programmer with the flexibility to build secured
applications.
-
In addition JavaScript speeds up the design process more so than other server
side scripting processes.
Example1: "Hello World"
| HelloWorld.html |
<head>
<title>welcome</title>
<body>
<script language=javascript>
document.write("Hello World")
</script>
</body>
</html>
More to come next week
|
|
|
|