How can I set disabled to false for all of elements on a form
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Zhang
Posted On:   Monday, April 29, 2002 12:09 PM

How can I set disabled to false for all of elements on a form.I don't want refrence each elements' name since this will be a generic function use by diffrent forms.what's the easist way?
can I use one statement like


parent.detail.detail_form.elements.disabled=false;

Re: How can I set disabled to false for all of elements on a form

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, April 30, 2002 04:19 AM


for (i=0;i {
document.formName.elements[i].disabled=false;
}
About | Sitemap | Contact