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

In Javascript are calculations with fractional numbers guaranteed to be precise?

541


Which built-in method sorts the elements of an array?

581


Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?

568


How to convert json object to string?

579


How typeof operator works?

576






How do you declare javascript?

534


What is 'use strict'?

519


Are javascript variables global?

477


How to write comment in JavaScript?

984


How to manage exception handling in javascript?

505


How can you convert the string of any base to integer in JavaScript?

518


What is a reverse string?

506


What is the output of 10+20+”30″ in JavaScript?

734


How host objects are different from native objects in javascript?

510


What are anonymous functions in Javascript?

540