Why we use java script when java also supports validation?
Answer / justme
Those are two completely different things. Don't confuse
JavaScript with Java. Allthough based on the same language
types, they are very different and serve different purposes.
Validation within a web form is usually performed using
JavaScript, because you want to prevent the browser from
posting back the form until all fields are filled in
correctly.
That said, JavaScript can easily be bypassed or just simply
turned off in the browser, so never rely on it and always
validate your forms serverside as well!
| Is This Answer Correct ? | 9 Yes | 0 No |
What is undefined x 1 in JavaScript?
Which software is best for javascript?
What is event in javascript?
Is java is a fully object object oriented language?
Where do you write javascript?
Explain what is pop()method in JavaScript?
Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..
What is the importance of javascript?
How do I retrieve a cookie with a given name using a regular expression?
What are math constants and functions using javascript?
can any one tell me the syllebus for java certification
Which is the best website to learn javascript?