87,910
社区成员
发帖
与我相关
我的任务
分享
//如下插件
(function($){
$.fn.tableUI = function(options){
var defaults = {
evenRowClass:"evenRow",
abc:{td:"123",erre:"456"}
}
var options = $.extend(defaults, options);
console.log(options.abc.td);
};
})(jQuery);
//如下我要设值,我要通过如下改变abc.td值。
$("#StadiumsControl").tableUI({
evenRowClass:"00002",
abc.td:"0000"//我这么赋值不行,请大师帮助。
});