原创 Javascript 常用的一些功能

String.prototype.trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); }  使用方法 string.

原创 easyUI textbox 驗證擴展

$.extend($.fn.validatebox.defaults.rules, { //用戶賬號驗證(只能包括 _ 數字 字母) account: {