Introduction to Java Script

What is Java Script?

–>Java Script is a scripting language.

–>Java script is used put dynamic content in HTML for client side validation.

–>HTML is just used to design the webpage.In the webpage there is no interactivity of client.

For example:

–>By using HTML we can design the Email webpage.We can enter any information in that page it will take.we can’t restrict that in email you should use @ symbol like that.

–>Where as  by embedding Java Script in HTML we can validate the information.If user does not enter the email with @ symbol,we can validate.

So,Interactive pages we can’t built only with HTML,we need a programming language.So, Netscape introduced a client side language called Java Script. 

–>Java Script  is a Netscape cross platform,it is object-based scripting language.

How does Java Script works?

–>When java script code is inserted in to HTML,HTML webpage is opened in web browser.Browser reads the HTML content .

–>It interprets the Java Script.

–>It executes the Java Script immediately,or later based on the user action or system event.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment