function CheckForm() { var classLevel = $("#classLevel").val(); var re = /^[1-9][0-9]*$/; if(!re.test(classLevel)&&classLevel.length>0){ alert("请输年级入大于零的整数!"); $("#classLevel").focus(); return false; } }
08-17 18:23:09.825: ERROR/AndroidRuntime(1608): FATAL EXCEPTION: main 08-17 18:23:09.825: ERROR/AndroidRuntime(1608): java.lang.IllegalArgumentException: parameter must be a descendant of this view 08-17 18:23:09.825: ERROR/AndroidRuntime(1608): at a
private void FocusFirstTabIndex(Control container) { // init search result varialble Control searchResult = null; // find the control with the lowest tab index foreach (Control control in container.Controls) { if (control.CanFocus && (searchResult