var deptId = $(xml).find("deptId").text();
(String)session.getAttribute("deptid");
get_login_detail().subc_id;
tab+='<a href=\"#\" onclick=\"openDialog(\'query\', \''+data.itemActivityList[i].activityID+'\');\"><p> <img src=\"../../images/ico1-1.png\" width=\"16\" height=\"16\"/></p>查看</a>';
function toReset() { $("#delayTime").val(""); $("#action").val(""); $("#font").val(""); /*var textDiv = document.getElementById("textData"); //循环删除 if(textDiv.hasChildNodes()){ textDiv.childNodes[0].parentNode.removeChild(textDiv.childNodes[0]); }*/ $("#textData").find("div").each(function(i){ $(this).remove(); }); /*var imgDiv = document.getElementById("selectImg"); //循环删除 if(imgDiv.hasChildNodes()){ imgDiv.childNodes[0].parentNode.removeChild(imgDiv.childNodes[0]); }*/ $("#selectImg").find("img").each(function(i){ $(this).remove(); }); }
onkeyup="checkWordNum(this,\''+wordNum+'\')" onclick="$(\'#imgList0\').find(\'img\').remove();" var inputNum = wordValue.replace(/[^\x00-\xff]/g, "**").length;
$("#imgList1").find("img").each(function(i){ $(this).attr("id","img"+i); if(i>4){ alert("只能添加五张图片"); $(this).remove(); } });