List of fonts: European Cyrillic
Then, it turned out to be that Cyrillic fonts were included in European fonts. We had to select/deselect both at the same time. The trouble is, the HTML's
select
's option
does not take br
tags, or new lines. All lines have to be in a single line.
Here is a jQuery code that select/deselect European and Cyrillic fonts at the same time. The code hooks any click on the European fonts to a handler that select/deselect Cyrillic fonts.
$('#European').live("click",function(){ var selected=$('#European').attr("selected"); if(selected=="selected") { $('#Cyrillic').attr("selected","selected"); } else { $('#Cyrillic').attr("selected",false); } });
Here is a word of caution; we had yet another problem with the Cyrillic option with the reset operation. The Cyrillic option has to be deselected manually.
// de-selects the Cyrillic option. $("#reset").click(function(){ $('#Cyrillic').attr("selected",false); });