确认选择数据
function checkexport(){ var checkrows=document.getElementsByName("ids");var candelete=false;for(var i=0;i<checkrows.length;i++){if(checkrows[i].checked==true){candelete=true;break;}}if(!candelete){alert('请先选择数据!');//alert('Please select the data, and then delete!');return false;}return confirm("确认导出选择数据吗?");}