function search_color() {
$(".ns_s-combobox-input").focus(function () {
$(this).css("color", "#111");
})
$(".ns_s-combobox-input").blur(function () {
if ($(this).val() == "输入商品名称" || $(this).val() == "") {
$(this).css("color", "#bbb");
}
})
}
$(function () { search_color() });
搜索字体变色
最新推荐文章于 2018-12-31 13:00:40 发布