If you are lucky and need to care only for recent browsers, you can use:
document.querySelectorAll('input[type=text]')
“recent” means not IE6 and IE7
If you are lucky and need to care only for recent browsers, you can use:
document.querySelectorAll('input[type=text]')
“recent” means not IE6 and IE7