且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何编写我的第一个jQuery插件?

更新时间:2023-11-20 22:22:10

***实践肯定是第二种选择. jQuery有关于插件创作的出色文章,其中还包含许多其他***实践.还有一个开始的模板",使您的第二个选择更进一步.

Best practice is definitely the second option. jQuery has a great article on plugin authoring with a number of additional best practices. There's also a starting "template" that takes your second option a bit further.