jquery select box plugin disable issue

jquery select box plugin disable issue

I am currently using jquery select box plugin to show attractive combo box. But when ever the situation come to disable that select box, there is no functionality to disable it. if you have disabled the your real drop down yet user can see the option list from the combo box.

I have done some trick to avoid that. I have put some code to restrict that

if ($(this).attr("disabled") == true) {
                if ($.browser.msie) {
                    $containerDivText.attr("disabled", $(this).attr("disabled"));
                    $newUl.attr("disabled", $(this).attr("disabled"));
                    $containerDiv.attr("disabled", $(this).attr("disabled"));
                }
                else {
                    $newUl.remove("li");
                    $containerDivText.unbind("click");                   
                }
            }

Please reply for the suggestion.

Thanks & Regards,
Mohan Prajapati