Hey all,
It seems as though in IE6, doing $("select").removeAttr("disabled") has no effect, i.e. it doesn't "re-enable" the select menu. My code works fine in FF. Is this known behavior and is there a workaround, or am I missing something?
I started out trying to set disabled=false, which worked in FF, but I thought I remembered that didn't work in IE. That's when I went to removeAttr, but I'm finding that doesn't work either.
In the code below, "cb" is a jQuery object/checkbox, and "#sbs_menu" is a select element.
var disbl = function(cb) { if(cb.attr("checked")) { $("#sbs_menu").removeAttr("disabled"); } else { $("#sbs_menu").attr("disabled","true"); } } -- Josh