我只想在页面加载时隐藏一个 div,它取决于复选框,如果选中复选框,则它在页面加载时隐藏,如果没有,则显示 div 做什么请帮助....
try{
st1=con.createStatement();
String QueryString = "SELECT c.course_code,c.course_id,t.topic_name,l.lo_name,l.session,l.status,l.lo_id FROM course as c JOIN topic as t JOIN los as l WHERE c.course_id=t.course_id AND t.topic_id=l.topic_id AND t.topic_id = '"+top1+"'";
rs1 = st1.executeQuery(QueryString);
while (rs1.next()){
id=rs1.getInt(7);
course=rs1.getString(1);
topicName=rs1.getString(3);
lo=rs1.getString(4);
sess=rs1.getString(5);
enter code here
} }抓住(){
}