Someone Someone - 1 year ago 68
jQuery Question

apply font-weight bold to the option in the select Element

<style type = "text/css">
font-weight: bold ;
font-size: 8pt;
$("#select1 > option[data-status=YES]").addClass("myClass");

It is not working in IE 6.0 and IE 8.0 and It is working fine in Mozilla. How do I apply
font-weight: bold
to the
in the
element that has the
as "

Answer Source

This is not possible in IE6. Styling form elements is extremely limited even in modern browsers.

You would have to use a JavaScript-based select alternative like this one.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download