js怎么使下拉框的背景色变透明
参考https://bbs.fanruan.com/thread-134333-1-1.html
下拉框出初始化事件:(颜色自己改)
setTimeout(function() {
$(".fr-trigger-text.fr-border-box").find("input").css({"background-color":"black","color":"white"})
},100);
下拉框编辑前事件:(颜色自己改)
$(".fr-combo-list").css({"background-color":"black","color":"white"})
给body添加初始化后事件:
$('<link rel="stylesheet" type="text/css" href="/help/css/style1.css"/>').appendTo('head');