Hi, regarding to the first concern about how to change the textbox from “disabled” to “readOnly”, you just need to click Button2 (to call changeColor() function). Regarding the second concern about blurring textboxes, I tested my original codes
and found the textboxes are not focused. Please try my codes and check your codes again. Additionally, in order to narrow down the cause of the issue, please paste your codes here for analysis.
Allen Li - M...
Star
10411 Points
1196 Posts
Re: Changing disabled textbox fontcolor without using readonly.
Apr 10, 2012 01:54 AM|LINK
Hi, regarding to the first concern about how to change the textbox from “disabled” to “readOnly”, you just need to click Button2 (to call changeColor() function). Regarding the second concern about blurring textboxes, I tested my original codes and found the textboxes are not focused. Please try my codes and check your codes again. Additionally, in order to narrow down the cause of the issue, please paste your codes here for analysis.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
aruldave
Member
14 Points
3 Posts
Re: Changing disabled textbox fontcolor without using readonly.
Apr 10, 2012 10:16 AM|LINK
Try this CSS property !important along with the CSS styles.
This may be used in this situation to get rid of this issue..
BPM Software