标签:成功 扩展 动态 jquery this extend 扩展方法 str load
$.parser.parse(‘#app‘); // 重新渲染 #app 下的元素
1 $.fn.extend({ 2 Load:function (url,fun) { 3 var $this = this; 4 $(this).load(url,function (resp,status,xhr) { 5 $.parser.parse($this); 6 fun(resp,status,xhr); 7 }); 8 } 9 });
1 $("#app").Load("login.html",function () { 2 alert(‘加载成功!‘); 3 });
【EasyUI】使用Jquery.load动态加载时重新渲染
标签:成功 扩展 动态 jquery this extend 扩展方法 str load
原文地址:http://www.cnblogs.com/jiuxuan/p/7258690.html