elRTE steals cursor focus when loading
Replies (1)
(1-1/1)
Added by Jake Wilson 9 months ago
I have the following:
$(document).ready(function(){
$('textarea#whatever').elrte();
$('#myinput').focus();
});
But when the page loads, the elRTE textarea has the focus. Is there anything that can be done to keep it from stealing focus when it loads?
setTimeout(function() {
$('#myinput').focus();
}, 300)
(1-1/1)