While working fine Chrome and IE7-9, firefox brings yet another surprise...
What I'm trying to do is to change the color of Select
according to the color of the selected option
. For some mysterious reason it doesn't work in firefox.
Any ideas why?
$('#selectstat_sch').change(function(){
$(this).css('color',$('option:selected',this).css('color'));
}).trigger('change');