hasAttr
This commit is contained in:
parent
0b1ba2ed87
commit
6f33e587c6
|
@ -404,3 +404,8 @@ jQuery.fn.selectOption = function(value) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
jQuery.fn.hasAttr = function(name) {
|
||||
return this.attr(name) !== undefined;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user