質問

I am trying to add placeholder to combobox from here

This is what I tried but I am unable to see placeholder in combobox. Any suggestions please.

$("#SelectedGroup").attr("placeholder", "Your Text Here");
役に立ちましたか?

解決

Use .custom-combobox-input selector

$('.custom-combobox-input').attr("placeholder", "Your Text Here"); 

working example here jsfiddle

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top