Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery("input[type='text']").change( function() {
- var current = jQuery(this);
- jQuery('input[name^="text"]').each(function() {
- if (jQuery(this).val() == current.val() && jQuery(this).attr('id') != current.attr('id')) {
- alert('No duplicate emails allowed!');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement