Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.wpcf7NotValidTip = function(message) {
- return this.each(function() {
- var into = $(this);
- $theParent = into.parent("span");
- $parentInp = $theParent.parent("input");
- into.find(':input').css('border-color', '#ff0000');
- into.find(':input').mouseover(function() {
- into.find(':input').css('border-color','#cccccc');
- });
- into.find(':input').focus(function() {
- into.find(':input').css('border-color','#cccccc');
- });
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement