A small Introductio to Javascript

From IIITM-k-wiki

Jump to: navigation, search

Javascript is the client side scripting language, developed by netscape, used along with HTML to build a efficient web site / webpage.In the beginning stages, web pages were developed only using html, which are nothing but static pages. User interaction and dynamic changes are not possible with html. With the advent of scripting languages the problem was solved. There are two types of script languages server side and client side.

When a page is requested, the request is sent to the server and data is fetched and viewed in the browser.
1) If the dynamic changes in the webpage are caused in the client side (the browsers like mozilla / IE) its called client side scripting language (E.g. - Javascript).
2) If the dynamic changes in the web page are caused in the server side (the server checks the request and based on the data it makes changes in the page before sending the data to the browser) its called server side scripting language (E.g. - php (as of i know)).

Java script codes are embedded in HTML files. Whenever a browser requests for a webpage, the HTML file along with script is transferred to the browser.

Java and Javascript: Never confuse javascript with java. Java is an application development language developed by SUN Microsystems and has no links with javascript, I suppose.I also read that Javascript was created long before java was developed.

Personal tools
<
May 2012
>
SMTWTFS
12345
6789101112
13141516171819
20212223242526
2728293031
Events Upcoming
More ยป