iwant to change select box's backgroud-color .
$(document).on("change", "select", function(e){
e.preventDefault();
if ($(this).val() != "") {
$(this).css({"background-color" : "chagne color"});
}else{
$(this).css({"background-color" : "default color"});
}
});
Sunday, October 29, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment