Errica
12-26-2008, 02:40 PM
window.onload=function() {
document.forms[4].demo.onclick=function(){
DisableButton(this);
}
}
function DisableButton(b) {
b.disabled=true;
b.value=' Disabled for Demo ';
b.className='disabledDemo'
}
Hi! This needs to be 4 or 5. How can I add or 5?
document.forms[4].demo.onclick=function(){
DisableButton(this);
}
}
function DisableButton(b) {
b.disabled=true;
b.value=' Disabled for Demo ';
b.className='disabledDemo'
}
Hi! This needs to be 4 or 5. How can I add or 5?