Introduction to JavaScript
JavaScript is a client site language and run in HTML. It a very
useful language and is very vast. In website it is used at many places for
quick actions. It is a high level programming language.
Common it is used
for client side scripting language. It is introduction to JavaScript so you
should know JavaScript is saved in ".js" extension. Initially
JavaScript was known as Live Script, but at the time of release java was very
popular so the name was changed to JavaScript. It was surely a marketing reason.
JavaScript is not a programming language but it is a scripting language.
Whether you want
to replace a text box, apply some CSS to any HTML object you can do it with the
help of JavaScript. As we are giving introduction to JavaScript we should know in
real time major use of JavaScript is use for form validations. In any server
site language like PHP the request is send to server and then it comes back so
in validating form the process will become slow. So it is recommended that form
should be validated in JavaScript first for quick scions.
Almost all latest
browsers support JavaScript but still it can be disabled. So developer should
take care of this.
