摘要:if(window.addEventListener) { FixPrototypeForGecko(); } function FixPrototypeForGecko() { HTMLElement.prototype.__defineGetter__("runtimeStyle",element_prototype_get_runtimeStyle); window.constructor.prototype.__defineGetter__("event",window_prototype_get_event); Event.prototype.
阅读全文
01 2013 档案
摘要:String str1 = "123456"; // 判断是否为数字 Pattern pattern = Pattern.compile("[0-9]*"); if(pattern.matcher(str1).matches()==false){ System.out.println("你输入的不是数字,请重新检查"); }else{ System.out.println("你输入的为数字"); }input 标签 判断 不能输入汉字<input name="textfield" id=&
阅读全文
浙公网安备 33010602011771号