Hello,
I need to enable/disable input text forms...
But...
I need to have the same style (color...) in both modes..
Could you help me ?
Thanx a lot
A small sample...
<HTML><HEAD><TI TLE></TITLE></HEAD>
<SCRIPT TYPE="text/javascript">
</SCRIPT>
<BODY >
NAME : <input type="text" ID="I1" name="I1" size="21"
style="text-align:center;co lor:#00FF00;">
<BR><BR>
<A HREF="javascrip t:" onClick="javasc ript:I1.disable d=true">Disable </A>
<BR>
<BR>
<A HREF="javascrip t:" onClick="javasc ript:I1.disable d=false"> Enable </A>
</BODY>
</HTML>
I need to enable/disable input text forms...
But...
I need to have the same style (color...) in both modes..
Could you help me ?
Thanx a lot
A small sample...
<HTML><HEAD><TI TLE></TITLE></HEAD>
<SCRIPT TYPE="text/javascript">
</SCRIPT>
<BODY >
NAME : <input type="text" ID="I1" name="I1" size="21"
style="text-align:center;co lor:#00FF00;">
<BR><BR>
<A HREF="javascrip t:" onClick="javasc ript:I1.disable d=true">Disable </A>
<BR>
<BR>
<A HREF="javascrip t:" onClick="javasc ript:I1.disable d=false"> Enable </A>
</BODY>
</HTML>
Comment