DIV disabled or greyed out
<p>I have a webpage with a form. Depending on user selections at the top of
the page, the page will disable sections of the form. My plan is to put
each section between a <code>&lt;div&gt;&lt;/div&gt;</code>. Each section contains some collection
of form elements.</p>

<p>So if the user does not select some criteria, the related section of the
form gets disabled. In a typical Windows type of application these elements
get disabled and greyed out. What's the best way to do this in a webpage?
Can Javascript determine what form elements are in a div section and
disable these elements through a loop for example? I know I can disable
each element if I know its it but is there a way to find out all the IDs of
elements for some div section?</p>

<p>Is it possible to gray out in page load event based on flag variable in c#?</p>
