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.
|
if (
|
|
node.nodeName.toLowerCase() !== 'input' ||
|
|
node.hasAttribute('type') === false
|
|
) {
|
|
return true;
|
|
}
|
|
|
|
var type = node.getAttribute('type').toLowerCase();
|
|
return (
|
|
['hidden', 'image', 'button', 'submit', 'reset'].includes(type) === false
|
|
);
|