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 is new function in javascript?
Where do you write javascript?
wap to accept an int array frm the user and print the lucky nos.
Does apple use javascript?
What are nodes in javascript?
Please write the Code of simple javascript calculator withot eval() function
How do I enable cookies safari?
In a pop-up browser window, how do you refer to the main browser window that opened it?
What is the difference between window.onload and ondocumentready?
How do you name a variable in javascript?
How to change the background color of HTML document using JavaScript?
How to convert javascript date to iso standard?
What is lazy loading java?
What is the reason for wrapping the entire content of a javascript source file in a function book?
How to create a confirmation box?