I have the following code (see below) that focuses a field on pasted text input. But this does not work in Firefox. Therefore, I cannot print text in Firefox.
$('<input/>').attr({ type: 'text', id: 'test', name: 'test' }).appendTo('#form');
Is there any fix for this?
Thanks in advance!
-
Correction to my question
I found out that the problem is caused
$(selector).sortable().disableSelection()
The only permission I have right now is not to call
//disableSelection()
Any other suggestions are welcome.
jquery
user558134
source share