I am using the following statement to make it readonly but it is not working.
$(\'#cf_1268591\').attr(\"readonly\", \"readonly\");
I don\
This code will first store the original selection on each dropdown. Then if the user changes the selection it will reset the dropdown to its original selection.
http://jsfiddle.net/4aHcD/22/
//store the original selection
$("select :selected").each(function(){
$(this).parent().data("default", this);
});
//change the selction back to the original
$("select").change(function(e) {
$($(this).data("default")).prop("selected", true);
});