1
116
I am attempting to disable a textbox based on its value at load. There are
actually 3 in question. Only dealing with the one at this time.
<script type="text/javascript">
function disaban()
{
with (document.forms[0])
{
var an = AUDITNO.value
if (an = "-")
{
document.forms[0].AUDITNO.disabled=true;
}
}
}
</script>
David
actually 3 in question. Only dealing with the one at this time.
<script type="text/javascript">
function disaban()
{
with (document.forms[0])
{
var an = AUDITNO.value
if (an = "-")
{
document.forms[0].AUDITNO.disabled=true;
}
}
}
</script>
David