Quick and simple PHP gift registry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
phpgiftreg/js/giftreg.js

9 lines
272 B

// based on http://alittlecode.com/files/jQuery-Validate-Demo/
function validate_highlight(label) {
$(label).closest('.control-group').addClass('error');
}
function validate_success(label) {
$(label).addClass('valid').closest('.control-group').removeClass('error');
}