How to click TinyMCE toolbar's button programmatically ?

Posted by hongkildong on Stack Overflow See other posts from Stack Overflow or by hongkildong
Published on 2009-11-20T06:01:00Z Indexed on 2010/03/26 15:03 UTC
Read the original article Hit count: 176

Filed under:
|

I want to make preview button as usual form button next to submit button(as it made in most cases of "Post new topic" forms). How can I programmatically simulate toolbar's preview button click ?

I tried $('#article_body_preview').click() but it didn't work. (I use jQuery lib and #article_body_preview is toolbar's preview button element )

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about tinymce