Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the requirements of web application using javascript?

962


Do you have to declare variables in javascript?

899


Why is javascript good for websites?

853


Is null in javascript?

869


What is called variable typing in javascript?

924


How to loop through array in javascript?

894


What is output of “20” + 20 + 20 and “20” + ( 20 + 20)? In javascript?

955


How to read a cookie using javascript?

1060


What does two exclamation marks mean in javascript?

892


How do you check if a value is a number in javascript?

902


How do you add an element at the end of an array?

942


How to replace all occurrences of a string in JavaScript?

1041


Why is javascript not oop?

841


What does question mark mean in react?

803


Event bubbling and Event Capturing in JavScript?

952