Hi,
i have a javascript function that changes the text in a label (ASP.NET form) to blank....It works fine just asit is shown below.
However, I dont want to hard code the label name to the function. I want to be a ble to probably pass the label name as a parameter so that the function can work no matter what label it is. Can some one please help me add the modifications to it.
i have a javascript function that changes the text in a label (ASP.NET form) to blank....It works fine just asit is shown below.
However, I dont want to hard code the label name to the function. I want to be a ble to probably pass the label name as a parameter so that the function can work no matter what label it is. Can some one please help me add the modifications to it.
Code:
<script type="text/javascript"> function changemsg(){ document.getElementById('<%=AccountLabel.ClientID%>').innerHTML=" "; } </script>
Comment