将: $("input[type=radio][name=optionsContractGroup][value=201]").attr("checked",true); 替换成: $("input[type=radio][name=optionsContractGroup][value=201]").prop("checked",true); 将attr方法替换成prop方法. radio Buttons and .attr…
public class Test{public static void main (String args []){ java.util.Date a = new java.util.Date();System.out.println(a);java.sql.Date b = new java.sql.Date(a.getTime());System.out.println(b);java.sql.Time c = new java.sql.Time(a.getTime());System.o…
java获取取得Timestamp类型的当前系统时间java获取取得Timestamp类型的当前系统时间 格式:2010-11-04 16:19:42 方法1: Timestamp d = new Timestamp(System.currentTimeMillis()); 方法2: Date date = new Date(); Timestamp nousedate = new Timestamp(date.getTime()); ------------------------…