niceguy971
asked on
AJAX-- access BackColor And ForeColor properties of the TextBox
TextBox has BackColor And ForeColor properties. It's easy to control/access these properties in Server-side code. My question:
How can I access these properties in client-side code using AJAX or/and javascript ???
<asp:TextBox ID="txtName" runat="server"></asp:TextB ox>
<script type="text/javascript">
var myName = document.getElementById('t xtName');
How can I access BackColor And ForeColor HERE???
</script>
Thanks
How can I access these properties in client-side code using AJAX or/and javascript ???
<asp:TextBox ID="txtName" runat="server"></asp:TextB
<script type="text/javascript">
var myName = document.getElementById('t
How can I access BackColor And ForeColor HERE???
</script>
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER