Instead of a reset you could use a simple button and the related onClick
event to call a javascript that sets all field to .
What do you think about this workaround?
Take note that it isn't an expected behaviour for a reset button. I suggest
you to name such a button with a value different from
-Original Message-
From: aris [mailto:[EMAIL PROTECTED]
Instead of a reset you could use a simple button and the
related onClick
event to call a javascript that sets all field to .
What do you think about this workaround?
Take note that it isn't an expected behaviour for a
I'm not sure how tricky it is in JavaScript...
function doit(obj) {
obj = obj.form;
i = 0;
while (obj.elements[i] != null) {
if (obj.elements[i].type.toLowerCase() != button) {
obj.elements[i].value = ;
}
i++;
}
}
Attach this to the onClick event of a button in the form
3 matches
Mail list logo