Development| HTML| JavaScript| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
What is JavaScript? - Definition 
 

In this article you learn the basics of JavaScript and create your first JavaScript program.

 

What is JavaScript? - Definition

                         

In this article you learn the basics of JavaScript and create your first JavaScript program.

What is JavaScript?
JavaScript is scripting language used for client side scripting. JavaScript developed by Netscape in 1995 as a method for validating forms and providing interactive content to web site. Microsoft and Netscape introduced JavaScript support in their browsers.

Benefits of JavaScript
Following are the benefits of JavaScript.

  • associative arrays
  • loosely typed variables
  • regular expressions
  • objects and classes
  • highly evolved date, math, and string libraries
  • W3C DOM support in the JavaScript

Disadvantages of JavaScript

  • Developer depends on the browser support for the JavaScript
  • There is no way to hide the JavaScript code in case of commercial application

Creating your first JavaScript Program

In the first lesson we will create very simple JavaScript program and run in the Internet Explorer. This example simply displays "Welcome to JavaScript World!" message in the browser.

Test JavaScript program from here.

Here is the code of JavaScript program:

<html>
<head>
<title>First Java Script</title>
<script language="JavaScript">
function sayhello(){
alert("Welcome to JavaScript World!");
}
</script>

</head>
<body>

<p><b>Click the following link to run your first java script example</b></p>
<p><a href="javascript:sayhello()">Run JavaScript First Program</a></p>

</body>

 

                         

» View all related tutorials
Related Tags: java javascript html c table script delete object header method ip page oo create tab footer with e il it

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

4 comments so far (
post your own) View All Comments Latest 10 Comments:

Dear

i want java script and html.
thanks to roseindia.net for give the example and tutorial for java script and html. it very easy to understand and practice..

Regrads
Deshmukh

Posted by deshmukh on Friday, 10.3.08 @ 22:47pm | #80878

Hi
sir/madam,
I need some java script and html programs.pls help me.

Thanking you

by,
subhashini.

Posted by subhashini on Monday, 09.15.08 @ 16:31pm | #79580

a helpful site for freshers and experienced.. thanks to this site developers,,,




regards
srinath

Posted by srinath on Monday, 09.8.08 @ 12:11pm | #77951

hi,

i need som javascrpt program

thanks
s.muthukumar.


















Posted by muthukumar on Thursday, 08.14.08 @ 18:58pm | #72835

Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.