View Single Post
Old Nov 15th, 2005, 2:22 PM   #2
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
<script type="text/JavaScript">
//<![CDATA[
function toggle(v,s)
{
	document.getElementById(s).disabled=v;
}
//]]>
</script>
</head>

<body>
<form name="f1">
	<div>
		<label for="_ctl0_RadioButtonListSalesAgent_0">
			<input id="_ctl0_RadioButtonListSalesAgent_0" type="radio" name="_ctl0:RadioButtonListSalesAgent" value="1" onclick="toggle(false,'_ctl0_DropDownListSalesAgent');" />
			Yes, and my agents name is:
		</label>
		<label for="_ctl0_RadioButtonListSalesAgent_1">
			<input id="_ctl0_RadioButtonListSalesAgent_1" type="radio" name="_ctl0:RadioButtonListSalesAgent" value="0" checked="checked" onclick="toggle(true,'_ctl0_DropDownListSalesAgent');" />
			No, please assign an agent.
		</label>
		<select name="_ctl0:DropDownListSalesAgent" id="_ctl0_DropDownListSalesAgent" disabled="disabled" class="PhoneEdit" style="width:200px;">
			<option value="User1">User1</option>
			<option value="User2">User2</option>
		</select>
	</div>
</form>
--47.
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote