Add to Favorites

Web Terminology - Javascript

In our last segment, we discussed AJAX. The most vital component of AJAX is javascript.

In a nutshell, javascript is a programming language that runs in your internet browser. It allows programmers to run logic on a web page as you view the page, client side. In web pages you have some basic components: xhtml, css style layout, media and javascript. Everything on a page except javascript acts as dummy static content. This means that things like xhtml/css and media can not really compute values, they just show up on a page for you to see.

Javascript on the other hand can be used to run operations such as adding numbers, showing/hiding parts of the page based on your actions and AJAX. For example, say we want to build a simple quick calculator, the web page will have two boxes that you can type in, the page will then take the numbers and add them together. Javascript would be perfect for this situation, after typing in the fields a javascript program would run behind the scenes, add the numbers together then put them somewhere on the page for you to view.

Javascript is also responsible for many of the great effects you see on web pages now, such as fading in/out, drag/drop, re-ordering, shrinking/growing, sliding and many other effects.


Be the first to leave a comment on this post.

Leave a comment

To leave a comment, please log in / sign up