ei im new to javascript can anyone help me with this code… i hav 3 radio buttons after each radio button is another input type… d input types were all disabled and i only want to enable them if their corresponding radio button is selected but it doesnt seem to work
here is my code:
<script language = “javascript”>
function enable()
{
if(document.create.mwfTime.disabled == “checked”)
}
function disable()
{
document.create.mwfTime.disabled = true;
}
<form name = “test”>
<input type = “radio” name = “choice” value = “ex1”> example1
<select name = “mwfTime” disabled = “true” >
<option selected> Select choices</option>
<option> one</option>
<option> two</option>
</select>
<input type = “radio” name = “choice” value = “ex2”> example2  
<select name = “TTHTime” disabled = “true” = “select2”>
<option selected> Select choices</option>
<option> three </option>
<option> four</option>
</select>
</form>
im really looking forward to ur response thanks