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 is an object in javascript, give an example?

958


Is javascript faster than asp script?

981


What is the difference between rootscope and scope?

915


What is unshift method in JavaScript?

970


How to open a window with no toolbar, but with the location object?

904


How do I view javascript files in chrome?

882


What is the function of delete operator?

928


In Javascript are calculations with fractional numbers guaranteed to be precise?

993


How can you read properties of an Object in JavaScript?

908


Who is the world famous hacker?

900


Can I write javascript in notepad?

905


How to reload the current page?

991


Explain how to read and write a file using javascript?

926


How can I prevent others from reading/stealing my scripts or images?

861


How to convert a string to lowercase?

1083