HOW TO AVOID DUPLICATE INPUTS IN HTML FORM USING JQUERY AND JS.

Sometimes you require to avoid duplicate input values.
Following code demonstrates how it can be achieved using jQuery and JS. 
When duplicate values are entered alert() message shows up.

Comments