jQuery UI Widgets Forums Editors Editor get change event while focused

This topic contains 4 replies, has 2 voices, and was last updated by  badera 9 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • get change event while focused #74434

    badera
    Participant

    The web application, in which jqxEditor is used, needs to perform an auto logout after some time of inactivity. To implement this, there are two event listeners registered on document level, which ‘reset the idle timer’:

    
    $(document).bind("click", function() {
        // reset idle timer...
    });
    
    $(document).bind("keypress", function() {
        // reset idle timer...
    });
    

    However, this works fine for all elements, inputs, widgets, etc. except for jqxEditor. No such events are fired.
    I then wanted to use the change event. But this does also not help because jqxEditor does fire the change event only after loosing the focus… so how can I get either a real change event during editing or another event that let me detect that the user is still active?

    Thanks in advance for any help!
    – badera

    get change event while focused #74445

    ivailo
    Participant

    Hi badera,

    Unfortunately you can use only the change event.
    There is no workaround about your case.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    get change event while focused #74446

    badera
    Participant

    Dear Ivailo

    These are bad news. Could you implement in the next version a keypress event too?
    Thanks in advance!
    – badera

    get change event while focused #74462

    ivailo
    Participant

    Hi badera,

    We will consider it.
    You can check about new releases and fixes here.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    get change event while focused #74479

    badera
    Participant

    That’s nice, Ivailo; thank you for the feedback!
    – badera

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

You must be logged in to reply to this topic.