why you used Java Script? Can it use for both client side
and server side validation purpose?

Answer Posted / raghu

Java script is used for client side validations.it runs in
the client system.the main advantage of using Java script is
to reduce the network traffic.for example when we r logging
into our e-mail unexpectedly we have submitted with out
writing our password,then it need not got to server and
check for validation and say u did' t typed u r password.for
that type of validations we use Java script.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is javascript different from java?

663


What is javascript and how it works?

669


What is Date object in JavaScript?

753


What is the difference between undefined value and null value?

706


What are .js files?

670


Write the point of difference between web-garden and a web-farm?

691


How would you check if a variable is null/undefined?

725


What are trailing whitespace?

656


What is the use of the ‘this’ keyword?

784


What is a module in javascript?

789


What is a null variable?

715


What do “1”+2+4 evaluate to?

703


Explain the different types of pop-up boxes you can create in JavaScript.

729


What is difference between array.splice() and array.slice() method in javascript?

707


How can you identify a function?

658