Hi, i want to set a coldfusion variable to undefined within a javascript function, i just written as below, but without calling the method it automatically set the variables on page load. Can anybody help me in the same i want to set the below variable only on call of resetForm(). Please reply me asap. Thanks
function resetForm()
{
<cfoutput>
<cfset form.rdoSensitivity = JavaCast( "null", 0 )/>
<cfset form.rdoMgtLevel = JavaCast( "null", 0 )/>
</cfoutput>
document.getElementById("addButton").disabled = false;
document.getElementById("removeButton").disabled = false;
}