Q:

CSS\JS\JQuery: Customize color of clicked (not chosen) option in multiselect box

I have a multiselect box, and want to change the default blue color that marks options I click.
The closest I got was to have the blue when I click, and then when I click on another option (the blue moves to the newer click) - a perminent red appears as backgroung on passed clicked option:
<script type="text/javascript">
   $().ready(function() {
      $("select").change(function () {
          $("select option:selected").each(function () {
              $(this).css('backgroundColor','red');
          });
       })
       .trigger('change');
   });
</script>

BUT this is not specificaly what I need... Is there a way to do it?

A:

Styling native forms element will cause you serious headaches.
You could try using this jquery plugin: http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ which provides nice enhancement for multi-select boxes form elements.
d.

