$.fn.selectReadOnly=function(){
var tem=$(this).children('option').index($("option:selected"));
$(this).change(function(){
$(this).children('option').eq(tem).attr("selected",true);
});
}
$("select:[readonly='readonly']").selectReadOnly();
//var val=$('input:radio[name="sex"]:checked').val();