Articles island - a directory of quality articles, free quality articles reprint for your web site and email newsletter.
Free Articles Reprint for Your Web Site, Email Newsletter, Blog, Ezine and RSS Feed.
Submit Your Articles to Our Article Directory for Massive Exposure.
Total Live Articles: 92613  Total Categories: 389



 
  Advanced Search
Articles island Expert Author - Glinda McDuffie
An entrepreneur since opening her first business at age 25, Glinda McDuffie has nearly 30 years experience as a successful business person. Now Glinda is focusing her energies on taking her brick-and-mortar experience to the 'net where she will build her next empire.
Home » Internet-and-businesses-online » Web-development » What Is Javascript Used For?

Articles island Expert Author - Jim Pretin
Author Name:
Jim Pretin

Country:
United States

Member Since:
24 Oct 2006

Total Live Articles:
271



Email to Friends
Rate this Article
Bookmark this Article
Print this Article
Report this Article
Leave a Comment





What Is Javascript Used For?

By: Jim Pretin
Total views: 5
Word Count: 573
Date:Jan 25th 2007
Article Rating: No Ratings Yet

If you are creating a web site for the second or third time, then you probably already have some experience with HTML. HTML is a fairly simple language to learn, and most new web designers learn to use it pretty quickly. HTML provides the style, structure, and formatting for a web page.

However, HTML does not actually do anything. It is a static programming language. It does not process information or make your site interactive, it just sits there and tells the web browser how the site should be displayed. So, other programming languages have been established to make websites interactive.

Of the non-static programming languages that are used to complement an HTML web page, Javascript is perhaps the most important. Contrary to its name, it has virtually nothing to do with the Java programming language. Javascript is a scripting language.

Scripting languages are used to connect diverse pre-existing parts to accomplish a new related task without compiling. Instead, scripting languages are interpreted, and are executed faster than a compiling language. Javascript is very versatile and can communicate with other languages effectively. It is a registered trademark of Sun Microsystems, and is compatible with every major browser on the market.

Javascript is most often used to handle certain events that might take place as the user interacts with the web page. For example, if the user is filling out an online form on the site and enters information that does not comply with a certain format, then Javascript can be utilized to check the format of the input before the form is submitted. If the input is invalid, the script can be used to prevent the form from being submitted and to tell the user what needs to be corrected.

When used, the script is ordinarily inserted in between the opening and closing head tags. In the head section, the programmer can create Javascript functions that can be executed if that function is called upon somewhere in the body of the page.

If a webpage contains an HTML form, the programmer may want to create a Javascript function to insure that the user enters his or her last name before the form can be submitted. To accomplish this, a function must be inserted in between the opening and closing head tags. Then, the function must be called upon within the opening tag of the HTML form.

Then, if someone attempts to submit the form, the Javascript function is called upon to make sure that the last name has been entered. If the last name has been omitted, then the submission is halted and the user is told to enter his or her last name before submitting the form.

The logic of these functions is often created using if/then statements. Uses for these functions include form validation, enabling cookies, displaying certain images when the user performs a certain action, and detecting what kind of web browser the user has so that the format of the web page can be adjusted to accommodate that particular browser.

Javascript is actually a fairly easily language to learn, because it is very logical and the syntax is not complicated. Even if you have never used it before, you can learn it fairly easily by searching for tutorials on a search engine. Using non-static programming languages will bring your web pages to life.

About The Author-- Jim Pretin is the owner of http://www.forms4free.com, a service that helps programmers make a free HTML form.

Article Source: Articles island - Free article submission and free reprint articles


Most Viewed Web Development Articles




Most Viewed Web Development Articles:

Choosing A Content Management System For Your Website
If you are planning to launch a website, you need to choose the correct Content Management System. Without the...

E-commerce Website Design Guide for Small Business Owners
When a small business owners starts thinking of having his own e-commerce web site he starts looking for relia...

Information is the hottest product on the market!
If you have been researching or involved in online business for very long, you have no doubt seen a multitude ...

Your First HTML Email Form
Creating your first HTML email form is not so simple, here is what you need to know...

How To Send An HTML Newsletter
Who here hasn't tried to create and send an HTML newsletter by email. It sounds easy enough. Create an html p...

Do You Have An Authoritative Website?
What does an authoritative site provide? In one sentence, an incredible amount of original material and a memo...

Who Invented Internet Commerce
Fascinating history of the beginnings and development of internet commerce...

Make Money Online By Making A Website
We have all seen thousands of websites on the Internet. Some are full of useless information and others provid...

Deciphering Website Hosting
Whether you're an entrepreneur thinking about launching a website or a website developer who needs to find a g...

Using Automated Scripts to Improve Web Site Productivity
There are two types of web sites on the Internet. The die hard SEO managers still favor static pages, because ...


Recent Web Development Articles




Recent Web Development Articles:

website development in UK and London
To solve your business problems by understanding your business goals and strategic & marketing objectives# To ...

Traffic, Traffic and More Traffic
There are many reasons why people visit some websites frequently than others. Increase your website’s traffi...

The Secret to Using the Word Free In Your Online Promotions
Free is a magic word. There's nothing that rings in people's ears more than the word free. Let's face it, ever...

The Secret to Effectively Generate Website Traffic
Starting a business or wanting to provide a service to a lot of people can be challenging. The first obstacle ...

Low-Cost Website Traffic Building
Increasing website traffic involves setting aside a definite number of hours in a day to promote the business....

Secret To Using Press Release To Generate Huge Traffic
Are you getting ready to introduce a new service or product? Have you used or are you familiar with press rele...

Perpetual Traffic Generation Tips
For people engaged in web hosting, e-commerce or online marketing maintaining industry, traffic is just one th...

How To Start an Online Traffic Virus Today
If you are working on a web hosting industry and are thinking about how it works, this article is for you....

How To Quickly And Easily Start A Traffic Virus
Traffic should be your number one concern when establishing your website. Success to building and promoting yo...

How to Get Unlimited Traffic Forever!
The digital age has given people a new way of doing business. This is because it is accessible to a lot of peo...

Most Viewed Articles by Jim Pretin




Most Viewed Articles by Jim Pretin:

This Spamming is Cramming My Inbox!
All about spam, how they get your email address, and how to combat it...

Is your Stockbroker a Crook?
Learn to evaluate whether your stockbroker is acting in your best interests or their own...

Email Forms - a Tough Task for Wannabe Programmers
the challenge inexperienced programmers face when creating an email form for their website...

The Side Effects Of Lexapro
Lexapro has become a popular antidepressant, but the side effects it produces has medical professionals questi...

Internet Scams and the Charlatans Behind Them
A humorous commentary about internet making money scams...

Tax Consequences of Municipal Bonds
Learn about the tax consequences of buying municipal bonds, which, contrary to popular belief, are not always ...

Penny Stocks Can Make You Money
In case you did not know, penny stocks can actually be a lucrative investment if you know what you are doing...

Your First HTML Email Form
Creating your first HTML email form is not so simple, here is what you need to know...

The Spam Dilemma
Learn all about spam and whether it will ever be stopped...

Introduction to Stocks
An introduction to investing in stocks for beginners...

You have permission to publish or reprint this article in your ezine, website, blog, forum, RSS feed or print publication, free of charge. As long as you keep this article with no changes(included Article Title, Article Body, Author Name, Article Source and keep all links in this article active)and you agree to our publisher terms of service. Below are ready HTML code for this article, you can copy and paste directly into your web page.

What Is Javascript Used For? -- HTML Version:


What Is Javascript Used For? -- Summary:

What Is Javascript Used For? -- Keywords:
1   2   3 Good!   4   5   6 Very Good!!   7   8   9   10 Excellent!!!  
Comments:
No Comment Posted.

Leave Comment: Please Login to leave a comment. Not a member yet? Sign Up now.