|
|
|
@ -27,9 +27,8 @@ |
|
|
|
link.focus(); |
|
|
|
link.focus(); |
|
|
|
}else if(link.nodeName.toLowerCase() === 'input' || |
|
|
|
}else if(link.nodeName.toLowerCase() === 'input' || |
|
|
|
link.nodeName.toLowerCase() === 'textarea') { |
|
|
|
link.nodeName.toLowerCase() === 'textarea') { |
|
|
|
if(link.getAttribute('type') === 'submit'){ |
|
|
|
if((link.getAttribute('type') === 'submit') || |
|
|
|
link.submit(); |
|
|
|
(link.getAttribute('type') === 'checkbox')){ |
|
|
|
} else if(link.getAttribute('type') === 'checkbox'){ |
|
|
|
|
|
|
|
link.click(); |
|
|
|
link.click(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
link.focus(); // focus
|
|
|
|
link.focus(); // focus
|
|
|
|
|