input大全

input标签中的引号

<input>标签设置值时,遇到引号需要使用转义码
单引号 &apos;
双引号 &apot;

<input value="R.TEC_GRADE IN(&apos;I031&apos;,&apos;I029&apos;)">

Button禁用

    [disabled]:hover {
        cursor: not-allowed;
}

按钮变灰

$("button[οnclick='SaveFormResult()']").attr("disabled", "disabled").attr("style", "background-color:gray");
发布了241 篇原创文章 · 获赞 14 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/qq_29150765/article/details/85159903