Question

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");
Était-ce utile?

La solution

Use .custom-combobox-input selector

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

working example here jsfiddle

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top