Why we use java script when java also supports validation?
Answer Posted / 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 |
Post New Answer View All Answers
What are parameters in javascript?
Create a new javascript object with the keys of “fname” equal to your first name, “lname” equal to your last name, and “fcolors” equal to and array of 3 of your favorite colors. Assign this object to a variable called “me” and log it to the console.
Is a parabola a function?
What are local variables in javascript?
what is pop()method in JavaScript?
Text from your clipboard?
How generic objects can be created?
How do you sort in javascript?
Explain the difference between javascript and an asp script.
What do you use javascript for?
What are the Advantages and Disadvantages of JavaScript?
How to manage exception handling in javascript?
What does js stand for?
What is a null variable in javascript?
What is output of “20” + 20 + 20 and “20” + ( 20 + 20)? In javascript?