Hi,
I wanted to know as to how we can disable all the elements present in a OJET form at once.
Previously we were using the following approach:
formElements = document.forms[formName].elements;
for(var i=formElements.length-1;i>=0;--i) {
formElements[i].disabled =true;
}
But in OJET we don't have "<form>" tag , so accessing document.forms[formName].elements is
not supported.
Please suggest as to how we can access all the elements/ components at once so that we can make it
disabled.
Thanks
Danya