jQuery UI Widgets Forums Editors Editor jqxEditor onfocus event

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxEditor onfocus event #103560

    SKIDD
    Participant

    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

    jqxEditor onfocus event #103580

    Hristo
    Participant

    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.