js对元素判断

$("input[type='text']").attr("readonly","readonly");
$("textarea").attr("readonly","readonly");
$("select").attr("disabled", "disabled");
$("input[type='text']").attr("disabled","disabled");
$("textarea").attr("disabled","disabled");
 
$("#map_bmmc").empty(); 
   //jQuery("#map_bmmc").empty();

posted @ 2019-04-14 16:45  那些年的代码  阅读(401)  评论(0编辑  收藏  举报