What Does JavaScript Do?

JavaScript is a client-side scripting language that is embedded in web pages. JavaScript allows for dynamic content than static HTML.

  1. Client Side

    • As a client-side language, JavaScript is downloaded to the browser, and the browser interprets the code. This reduces load on the server and allows changes, using Ajax, as you use the web page.

    Embedding

    • Because JavaScript is embedded in HTML, it needs a web browser to be able to use it. It cannot be compiled like some other languages, such as C or Basic.

    Dynamic Content

    • JavaScript can have variables that make the content more dynamic. It can display the current date and time, rotate a picture or change the CSS style of a form to make it stand out when you make an error. Ajax is using JavaScript and CSS together in an HTML page to do dynamic changes.

    Speed

    • Because JavaScript is compiled on your computer, the speed it runs depends on your computer. JavaScript has lower overhead than Java, C# or Flash, so for the functions JavaScript can do, such as rotating images, it is often better to use JavaScript and keep the demands of your computer minimal.

    Limitations

    • While there are many reasons to use JavaScript, it also has limitations. Because it is client side, interactions with a server using JavaScript is difficult and in some cases not possible. It is normal practice to post a form to a PHP script for database and server-side routines. JavaScript can also be turned off by the client, rendering your script useless. The same can be said for Java, Flash and many other languages.

Related Searches:

Comments

You May Also Like

  • What Does a Webcam Do?

    A webcam converts moving pictures taken through its lens into digital images that can be stored on a computer or beamed throughout...

  • What Does Java Script Do?

    Websites use JavaScript for a variety of reasons. JavaScript is client-side code, so it runs within the browser of someone using a...

  • Where Can I Download Javascript?

    Many computer applications rely on JavaScripting to function properly. Many websites also rely on Javascripting for display and for communication with other...

  • What Does the File Extension XML Do?

    The term XML, eXtensible Markup Language, is a type of semantic programming language that is used to organize and present data to...

  • What Does Potassium Gluconate Do?

    Potassium gluconate is an organic potassium salt that is given as a dietary supplement. Available as both an over-the-counter and a prescription...

  • How Do I Turn on Javascript in Opera?

    Javascript is a programming language which developers use to make web pages more interactive. When Javascript is disabled, you run into frequent...

  • What is JavaScript Void?

    Void can sometimes cause errors. One alternative is to use an href that points to "#", a non-existent url, and call your...

  • What Skills Do You Need to Become a Web Designer?

    What Skills Do You Need to Become a Web Designer?. Web design is a multidisciplinary profession combining light programming with aesthetic principles,...

  • How Do I Turn on Javascript on My Computer?

    JavaScript is a coding language that allows certain Web applications to run properly on your computer. The way your browser reacts to...

  • What Is JavaScript Used For?

    JavaScript is a scripting language used to create dynamic and interactive web content. It has a wide range of applications, including e-commerce...

  • What Does a Computer Programmer Do?

    A computer programmer or software developer is a person who designs, tests, analyzes and implements applications. There are several types of computer...

  • What Does HTML Mean?

    In order for all web pages to work around the world and through all different computers and browsers, they need to all...

  • What Does the Spleen Do?

    The spleen is a part of the body's lymphatic system, located just under the rib cage on the left side of the...

  • What Does 'FBML' Stand for on Facebook?

    FBML stands for Facebook Markup Language, a specialized programming language used by Facebook application developers. While FBML is in the process of...

  • How Can I Activate Javascript on My Blackberry?

    Blackberry phones have considerable and growing power for browsing the Internet. Many pages online will need to run JavaScript to display properly....

  • How Do I Enable Java Script on My Computer?

    JavaScript is a computer programming language used primarily for viewing content on the web. If you are surfing a professionally made website,...

  • Why Do I Get a Javascript Void Message?

    In JavaScript, a function called "JavaScript:void" will sometimes appear when an attempt to load a page is detected. This function is sometimes...

  • How Do I Disable Javascript?

    To disable or enable JavaScript is pretty simple. Depending on which browser you use, the steps may vary slightly. What follows are...

Related Ads

Featured