插件中的JQuery和辅助功能 [英] JQuery and Secondary Functions in plugins

查看:81
本文介绍了插件中的JQuery和辅助功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://www.learningjquery.com/2007/10 /a-plugin-development-pattern

我阅读了本教程,并谈到了插件中的辅助功能.

I read this tutorial and there was a talk about secondary functions in a plugin.

如何在插件之外使用这些功能?

How can I use those functions outside the plugin?

推荐答案

他们给出了示例:

var txt = 'Hello world!';
$.hilight.format( txt );

这篇关于插件中的JQuery和辅助功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆