|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by sunny575 in Programming for ASP.NET, .NET Framework 2.x, JScript
Hello Guys,
I am not sure whether asp.net control property can be changed using Javascipt? I am trying to change control property on server side kinda handling it in Onclick event of a button. But is it possible to change the property using javascript. Any help would be appreciated
Thanks,
Sunny
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
<script type="text/javascript" language="javascript">
function display()
{
If ( document.getElementById('TBox')!= null)
document.getElementById('TBox').style="display:none";
}
</script>
<asp:TextBox ID="TBox" runat="server"></asp:TextBox>
<asp:Button ID="bttn1" runat="server" Text="ServerBttn" OnClick="javascript:display();" />
|
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625