plandem / lwrte

Export from Google Code. Lightweight Rich Text Editor (RTE / WYSIWYG) for jQuery
https://code.google.com/p/lwrte/
0 stars 0 forks source link

TabIndex IFRAME Set Focus Resolve #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
LwRTE.prototype.set_focus = function () {
        if (this.iframe) {
        $(this.iframe.contentWindow).focus();
    }
};

/**USAGE

$(object).keydown(function (e) { 
 if (e.keyCode == 9) //keydown TAB
       rteContent.set_focus();
});

*/

Original issue reported on code.google.com by feritars...@gmail.com on 30 Jul 2010 at 6:43