I am trying to use JS to change the value on a server side control. Itry two ways in this function neither works.
I know the script is running because I've walked through it.
How can I change a contorls attributes?
Any help would be appreciated.
Denis
VB.NET:
<script language="javascript" type="text/javascript" >
function Change_text()
{
('<%= Button1.ClientID %>').text = "DO IT";
document.getElementById('<%=Button1.ClientID %>').text = "DO IT!!!";
}
</script>
I know the script is running because I've walked through it.
How can I change a contorls attributes?
Any help would be appreciated.
Denis