110,529
社区成员
发帖
与我相关
我的任务
分享
if (textBox1.Enabled == false)
{
textBox1.BackColor = Color.Red;
}
$(function () {
$("input").css("color", "red");
})
<asp:TextBox ID="TextBox1" runat="server" Text="Show Me" ReadOnly="true">