DragonetYu

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  javascript

实时记录分享
摘要:/** * ajax 全局处理 * @author:DragonetYu * 2017-09-28 */ ;(function(){ //过滤所有ajax $.ajaxPrefilter("*", function(options, originalOptions, jqXHR) { options.beforeSend = ajaxBeforeSend... 阅读全文
posted @ 2017-09-28 09:43 DragonetYu 阅读(260) 评论(0) 推荐(0)

摘要:String.prototype.trim = function() { return this.replace(/(^\s*)(\s*$)/g, ''); } /** * 检验数据 * @author:DragonetYu * 2017-09-27 * 依赖 jquery */ var _checkFilter = { /** * 通过id 检验val 的值... 阅读全文
posted @ 2017-09-27 16:27 DragonetYu 阅读(158) 评论(0) 推荐(0)

摘要:直接上代码, 阅读全文
posted @ 2017-09-25 16:01 DragonetYu 阅读(164) 评论(0) 推荐(0)