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 |
java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.
What is the difference between push() and concat() in javascript?
Where can I learn javascript for beginners?
How to call a function inside a function in javascript?
Does javascript have the concept level scope?
What are the Non-primitive data types in JavaScript?
How to access the value of a textbox using javascript?
How host objects are different from native objects in javascript?
Does apple use javascript?
How to set a html document's background color?
Why is currying called currying?
What is javascript and how it works?