跳到主要內容

發表文章

目前顯示的是 5月, 2011的文章

[jQuery]JQuery Validation and Ajax

imports jquery.min.js imports jquery.validate.min.js [Ajax] function callAjax(){ $.ajax({type: "POST", url: "ajax.asp", data: {fun: "checkCardNO", CardNo: $("#CardNo").val()}, dataType:"html", success:function(msg){ $("#AjaxValue").val(msg); /* Use Hidden input or div to transfer Ajax Value */ } }) } [Form Validation] --Add Validation Function $.validator.addMethod("checkRegisterd", function(value, element) { callAjax(); if($("#AjaxValue").val()=="Unregisted") return true; } ); $.validator.addMethod("Useless", function(value, element) { callAjax(); if($("#AjaxValue").val()!="noData") return true; } ); --Validation $().ready(function() { $("#form1").validate({ rules: { CardNo: { required: true, Useless: true, checkRegisterd: true }, Name: "required", Tel: { require...

Autoruns for Windows v10.07

An useful software. Autoruns for windows Introduction This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.