i'm using handsontable jquery plugin. i'm trying intercept when user stops editing cell. when double click on cell, text area class handsontableinput
appears on position of cell.
using jquery tried callback whenever user clicks elsewhere, loosing focus of textarea.
here simple focusout code:
$(".handsontableinput").focusout(function () { alert("lll"); });
here fiddle.
also, work if page handsontable in frame, , clicked outside frame?
thank you
you should use .on
method:
$("#examplegrid").on('focusout','.handsontableinput',function () { alert("lll"); });
jsfiddle: http://jsfiddle.net/edi9999/heh5c/1/
the issue code @ moment of execution of $(".handsontableinput")
, no element class, event attached no element.
Comments
Post a Comment