jQuery UI Widgets › Forums › Editors › Editor › jqxEditor onfocus event
Tagged: editor, javascript editor, jquery editor, jqwidgets editor
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 5 years, 10 months ago.
Hi
I’m using the jqxEditor control and am looking for a way to run some javascript when the user clicks into the text area of the editor. Can you help me with this please?
Thanks Simon
Hello Simon,
You could try to use this approach:
$('#editor').contents().find('iframe').contents().find('body').click(function (event) { console.log('click'); });
Best Regards, Hristo Hristov
jQWidgets team http://www.jqwidgets.com
You must be logged in to reply to this topic.