Disable select

I want to disable one of my three select in the lightbox. What’s method can use?


You can try to use the following approach:


scheduler.form_blocks.select.set_value=function(node,value,ev){



var selects = document.getElementsByTagName(“select”);


selects[0].disabled = true; /* 0 is index of the select that should be disabled*/


node.firstChild.value = value;


}