|
|
|
@ -24,13 +24,13 @@ |
|
|
|
window.open(link.href, '_self'); |
|
|
|
window.open(link.href, '_self'); |
|
|
|
} |
|
|
|
} |
|
|
|
}else if(link.nodeName.toLowerCase() === 'input'){ |
|
|
|
}else if(link.nodeName.toLowerCase() === 'input'){ |
|
|
|
if(link.getAttribute('type') === 'text'){ |
|
|
|
if(link.getAttribute('type') === 'submit'){ |
|
|
|
link.focus(); |
|
|
|
|
|
|
|
link.select(); |
|
|
|
|
|
|
|
} else if(link.getAttribute('type') === 'submit'){ |
|
|
|
|
|
|
|
link.submit(); |
|
|
|
link.submit(); |
|
|
|
} else if(link.getAttribute('type') === 'checkbox'){ |
|
|
|
} else if(link.getAttribute('type') === 'checkbox'){ |
|
|
|
link.click(); |
|
|
|
link.click(); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
link.focus(); |
|
|
|
|
|
|
|
link.select(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|