how to disable button by javascript
today ,i was fooled by the code in javascript so much
if(....)
{
document.getElementById('<%=RequestAssistanceMLRImageButton.ClientID%>').Enabled=false;
}
... i guess the button should be disabled because of the code, how ever ,the result is so rebarbative,
the code does not work at all !
in the end , i tried it in this way
if(....)
{
document.getElementById('<%=RequestAssistanceMLRImageButton.ClientID%>').disabled=ture;
}
then ,the button disabled so docile.
God , what the difference? but anyway, the initiator liked the word 'disable', we can do nothing but abey it.![]()
浙公网安备 33010602011771号