Categories
  • Accounting(32)
  • Alternative Health(4)
  • Beauty(860)
  • Business(659)
  • Career(962)
  • Cars and Trucks(651)
  • Computers(165)
  • Culture and Society(172)
  • Environment(77)
  • Family(243)
  • Finance(477)
  • Fitness(275)
  • Food and Drink(416)
  • Free Tools and Resources(28)
  • Health(1265)
  • Hobbies(393)
  • Home(509)
  • Humor(30)
  • Inspirational(1)
  • Internet(210)
  • Internet Marketing(723)
  • Legal(240)
  • Marketing(0)
  • Men's Issues(0)
  • Music(359)
  • Personal Development(322)
  • Pets and Animals(1034)
  • Politics(24)
  • Psychology(79)
  • Publishing(8)
  • Recreation and Leisure(267)
  • Relationships(150)
  • Religion and Spirituality(76)
  • Science(62)
  • Speaking(26)
  • Technology(153)
  • Women's Issues(0)
  • Writing(79)

  • Recently Added Links:

    ZeroCostArticles.com Article Directory - Article directory - free submission of your articles, free content for your website!

    Buy links - Link popularity services - We offer different link popularity services to build your link popularity. Our link popularity services are affordable. buy links to improve web site traffic and search engine rankings.

    FREE Online Auction Business Information - Now you can discover the secrets of getting started with your own online auction business. Download our FREE report and start posting profitable auctions TODAY!

    Link Directory:

    Article Directory (3)
    News Articles (0)
    Free Articles (12)
    Sports Article (0)
    Web Articles (6)

    Reciprocal Links

    Main Menu:

  • Blog
  • Home
  • Login
  • Register
  • Submit Article
  • Latest Articles
  • Search

  • Resources:

  • Contact
  • Links
  • Submission Rules

  • Sponsors:


    Welcome to SubmitArticles Directory!


    What Is Javascript Used For?

    by: acbuddy
    Total views: 9
    Word Count: 573

    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.


    Rating: Not yet rated

    Comments

    No comments posted.

    Add Comment

    You do not have permission to comment. If you log in, you may be able to comment.