Newbie. Need to disable select until user puts mark in check box. Then enable select
Hi, I have two select box's on a page. The first asks what product, the second is based on the first and presents a list of pdf's according to which product the user selected. (yes, multi dimensional)
What I have works fine, but now i need to make the user put a check mark in a check box before the First SELECT box becomes enabled/available.
So basically, when they agree, they can get the download.
Here are my select boxes.
<select name="category" style="width:180px"></select>
<select name="site" style="width:180px" onchange="openLink(this.value)"></select>
<input type="button" value="Open" onclick="openLink(this.form.site.value)">
(ignore the The 'open' button. It's there in case the default option is what the user wants, so they don't have reselect via the select box.)
- How do I disable the select boxes by default on page load?
- How do I detect that the user has put a tick in and the enable the disabled Select box??
Many thanks in advance.