摘要: 双层遍历,第一层list为classes,里面放的是班级class对象,第二层为班级class里的小组groups。 ${#all.className}//外层的数据 ${groupName}//内层的数据 //外层的数... 阅读全文
posted @ 2013-07-26 11:11 黄河边上的牧马人 阅读(424) 评论(0) 推荐(0)
摘要: var val = $(this) val(); 1、$(this). focus(); 2、$(this).val(""); 3、$(this).val(val); 1、调用focus方法 2、value赋值为空 3、之前的input的值再赋给自己 阅读全文
posted @ 2013-07-26 10:54 黄河边上的牧马人 阅读(973) 评论(0) 推荐(0)
摘要: var emps= $("input[name='emp']:checked"); var employee= ""; emps.each(function(){ employee+= this.value+","; }); 阅读全文
posted @ 2013-07-26 10:50 黄河边上的牧马人 阅读(241) 评论(0) 推荐(0)