开发者

merging json in jquery-ui

What function does jquery ui use to override the default options pa开发者_如何学编程ssed to a plugin on init?

My plugin has an option that defaults to "false" and if you specify "true" it does something else. And if you specify an object (a json with more jsons nested) you open a whole bunch of possibilities. i want to set defaults for these options i know that ui is doing the same thing for standard "defaults" set, so where can i find that function?


This question was answered on the jQuery forum

It's jQuery.extend

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜