View Full Version : Gurus help me (:

11-16-2005, 12:13 AM
Could somebody tell me, how can I disable a selection box, once ONCHANGE event is triggered. Code is mixed with javascript and cold fusion. dont worry about cold fusion part.

Please help me (:

<script language="javascript" type="Text/JavaScript">
<cfif isdefined("emp")>
document.getElementById('emp').disabled = true;


<cfselect id="emp" name="emp" query="qryEmp" display="name" value="empID" onchange="frm.submit();" selected="#frmEmp#"
required="yes" onValidate="validate" message="Please select Employee." />