How to style a selection list item? Here is my code as of now ...
$('.editableSelect').editable(function(value, settings) {
if (this.revert == value) {
this.reset();
return;
}
setSaveButtonRed(this);
setDescFromAccountCode(this, value);
return (value);
}, {
type: 'select',
submit: '<button type="submit" class="checkbookButton">OK</button>',
data: $('#accountCodesForSelect').val(),
cssclass: 'checkbookSelect',
tooltip: "Click to edit...."
});
and the checkbookSelect class looks like this:
.checkbookSelect
{
font-family:Verdana,Helvetica,Sans-Serif;
font-size:0.75em;
}
But when I click the button, in this case the table cell (and jEditable fires) appears and the selection list is not a style ...
I think the cssclass parameter in jEditable is only for the range that jEditable creates and may not apply to any input element that it creates ... so maybe the answer is to use a more specific jQuery and / or jQuery live selector () to select a selection list item and then apply the style in this way?
Note that I also tried using the style / setting attribute ... he commented above.
BTW jEditable - script... , datepicker jEditable ...