原文:http://dojotoolkit.org/documentation/tutorials/1.10/modules/ 难度等级:初级 Dojo 版本:1.10 If you are migrating from a version of Dojo lower than 1.7, you may find the 1.8 version of this tutorial useful as it provides some guidance on migrating from Dojo's old module system to AM...【阅读全文】
分享下js验证表单的一些代码,很全面,也很实用。用途:校验ip地址的格式 输入:strIP:ip地址 返回:如果通过验证返回true,否则返回false; */ function isIP(strIP) { if (isNull(strIP)) return false; var re=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/g //匹配IP地址的正则表达式 if...【阅读全文】