c# - How to Do the total web form in disable mode -


i having web page consist of 130 drop downs , 100 check box list. total no of lines 7500. page used user view receiving query string other page. starting each , every control.enable = false taking time. how it.thanks in advance.

i found not possible make whole form disable once i.e form does't have attribute disabled. can go below function , call function on body onload.

function disable() {     var limit = document.forms[0].elements.length;     (i=0;i<limit;i++) {       document.forms[0].elements[i].disabled = true;     }   } 

Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -