document.getElementsByTagName("INPUT")[0].setAttribute("value","2");
<ahref="dom_obj_attributes.php" target="_blank">对象</a>.
alert(document.getElementsByTagName("a")[0].getAttribute("target"));//_blank
document.getElementById(id).removeChild(id);
File file = null;
String url = "";
try {
commonDao.beginTransaction();
String file_id=req.getReqDataStr("file_id");//Excel本地路径
if(StringUtil.isNullOrEmpty(file_id)){
throw new OtherException(req, "附件编号file_id", ExcType.DATA_ISNOTNULL);
}
url = "D:\\rzys.xlsx";
file = new File(url);
if(!file.exists()){
throw new Exception();
}
List<String[]> list = accessory.getWorkBoss(url);
for(int i = 0; i < list.size(); i++){
String[] data = list.get(i);
Map<String, Object> map = new HashMap<String, Object>();
long fid = DBOprProxy.getNextSequenceNumber("computer_allowance_manage"); //主键id
map.put("com_id", fid );
map.put("djh", data[0].trim());
map.put("applyUsercode",data[1].trim());
map.put("sendStatus",data[2].trim());
map.put("create_time",data[3].trim());
map.put("initMonth",data[4].trim().replace(".00", ""));
map.put("initJine",data[5].trim().replace(".00", ""));
map.put("finalJine",data[6].trim().replace(".00", ""));