I am using the following statement to make it readonly but it is not working.
$(\'#cf_1268591\').attr(\"readonly\", \"readonly\");
I don\
Maybe you can try this way
function myFunction() { $("select[id^=myID]").attr("disabled", true); var txtSelect = $("select[id^=myID] option[selected]").text(); }
This sets the first value of the drop-down as the default and it seems readonly