What is JavaScript?


Not a full programming language like Java or C++
core language has no graphics, no file handling, no networking

Not a subset of Java -syntactically similar but:

loose data typing
object based not strictly object oriented
although inheritance is possible

Not simple -easy to get started but large and complex
client-side code is interpreted by the browser
its scope is restricted to the browser
cannot carry a malicious payload


Typical Uses

GUI enhancement

rollovers images
pull-down menus
browser sniffing to adjust page layout

Techniques to reduce the load on the server

validating input before sending to a server-side program
shopping carts

Mini-applications
calculators, calendars

Animation


Asynchronous applications
AJAX
Many of the above require DHTML
Dynamic HyperText Markup Language
combination of JavaScript & HTML & CSS & DOM
Share on Google Plus

About Md.Jubayer