用JavaScript控制CSS其实很简单,基本上每个DOM对象都有一个style对象,只要把css属性里的"-"去掉,并让随后的字母变为大写就可以作为属性使用了,例如:element.style.backgroundColor="#f00";在css是:选择符 {background-color:#f00}
/**接jsp数组
String[] primarykey =request.getParameterValues("primaryKey");
String[] monthjlsl = request.getParameterValues("monthjlsl");
String[] monthjlje = request.getParameterValues("monthjlje");
String[] qdbh = request.getParameterValues("primaryKey1");
for(int j=0;j<PRIMARYKEY.LENGTH;J++){
for (int i=0 ; i<QDBH.LENGTH;I++){
if(primarykey[j].equals(qdbh)){
DaoPut.SaveMonthdata(signId,parent,qdbh,monthjlsl,monthjlje,nowdate);
}
}
}
/**接jsp数组
String[] primarykey =request.getParameterValues("primaryKey");
String[] monthjlsl = request.getParameterValues("monthjlsl");
String[] monthjlje = request.getParameterValues("monthjlje");
String[] qdbh = request.getParameterValues("primaryKey1");
for(int j=0;j<PRIMARYKEY.LENGTH;J++){
for (int i=0 ; i<QDBH.LENGTH;I++){
if(primarykey[j].equals(qdbh
DaoPut.SaveMonthdata(signId,parent,qdbh
}
}
}
浙公网安备 33010602011771号