simulate the button events
Added by Josef Koller 5 months ago
Hello,
A new problem for me. I would like to simulate the button events.
My idea:
I give over the toolbar a menubar. This menubar looks like a "normal word application" with for example file-button(in the submenu are open close save saveAs, ect.) or edit-button with submenu (copy, paste cut, ect.)
How can i implement for example the elRTE-copy-function to my copy-function in my menubar?
Thanks again
Josef
Replies (1)
RE: simulate the button events
-
Added by Josef Koller 5 months ago
Hello,
it's fixed with this code:
$(#table).bind("click", function(){ //#table = id of the button for simulating
$('.table').click(); //.table = class of table button in toolbar
});
Bye
Josef
(1-1/1)