Validating fields in javascript

Each of the many Java Script engines represent a different implementation of Java Script, all based on the ECMAScript specification, with some engines not supporting the spec fully, and with many engines supporting additional features beyond ECMA.

As a multi-paradigm language, Java Script supports event-driven, functional, and imperative (including object-oriented and prototype-based) programming styles.

It is used to make webpages interactive and provide online programs, including video games.

The majority of websites employ it, and all modern web browsers support it without the need for plug-ins by means of a built-in Java Script engine.

We will create Java Script functions (one for each input field whose value is to validate) which check whether a value submitted by user passes the validation.Although there are strong outward similarities between Java Script and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design; Java Script was influenced by programming languages such as Self and Scheme.In 1993, the National Center for Supercomputing Applications (NCSA), a unit of the University of Illinois at Urbana-Champaign, released NCSA Mosaic, the first popular graphical Web browser, which played an important part in expanding the growth of the nascent World Wide Web.The comparison is one of the following: 'equal' or 'same' or 'eq', 'not Equal' or 'not Same' or 'ne', 'less Than' or 'before' or 'lt', 'greater Than' or 'after' or 'gt', 'not Less Than' or 'not Before' or 'ge', 'not Greater Than' or 'not After or 'le'.The reference date can be given as a call with the name 'dp Compare Date'.