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 |
How to accessing elements using javascript?
How many data types are there in javascript?
What is the difference between undeclared & undefined?
How long does it take to learn coding?
What is the use of a typedarray object in javascript?
In Java coding we will write a public static void main()? Why won't we write as a static public void main()
Is javascript event driven?
How do you implement Ajax using hide() function in JQuery?
What are the difference between undefined and not defined in javascript?
What javascript means?
What is difference between module.exports and export?
Example of using regular expressions for syntax checking in javascript?