![]() |
How to call custom method in this plugin example
I'm using the jQuery based WYSIWYG editor Redactor and in trying to follow along with their simple docs, how would you call the method 'your_method' in their example here?
http://imperavi.com/redactor/docs/creatingplugins/ They don't have an example. All I want to do is put a button on the page and then when that button is clicked, trigger off my own custom method. I'm sure this is an easy one for any experience JS coder. Insight appreciated! |
Give that initializer function a name and then call it:
PHP Code:
|
| All times are GMT +1. The time now is 01:15 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.