133
rated 0 times
[
140]
[
7]
/ answers: 1 / hits: 39574
/ 15 Years ago, fri, february 20, 2009, 12:00:00
is it possible to clear all textboxes in HTML by calling a javascript function ?
More From » html
is it possible to clear all textboxes in HTML by calling a javascript function ?
var elements = document.getElementsByTagName(input);
for (var ii=0; ii < elements.length; ii++) {
if (elements[ii].type == text) {
elements[ii].value = ;
}
}