文章列表
jquery中的checkbox
- 博客分类:
- jquery
<script type="text/javascript">
//当页面加载完成后
$(document).ready(function() {
$("#btn1").bind("click", function() {
$("[name='checkbox']").attr("checked", 'true');//全选
});
$("#btn2").bind("click", function( ...
package com.newer.liu.system.comment;
import java.io.IOException;import java.lang.reflect.Method;import java.util.List;
import javax.servlet.ServletException;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;import or ...
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Demo {
public void method(String filepath) throws IOException {
BufferedReader br = new BufferedReader(new FileReader(filepath));//读取 ...
//测试
package demo;
import java.util.HashMap;
import java.util.Map;
public class Demo1 {
public static void main(String[] args) {
Map map=new HashMap<String,Object>();
map.put("uname","andy");
map.put("age" , 18);
map.put("sex","男" ...
package newer.demo;
public class Demo {
//定义枚举类实现星期。
public static final int monday=1;
public static final int tuesday=2;
public static final int wednesday=3;
public static final int thursday=4;
public static final int friday=5;
public static final int saturday=6;
public static final int su ...