I need auto press enter when my script write text.
TEXT PLACE: https://gyazo.com/a8...d9f7865e8192128
TEXT SCRIPT[CHROME]: https://gyazo.com/65...5a7000fb9199ba0
My script:
pQ+=$(".amount").html();
and
$('TEXTAREA').val(pQ);
When i paste my scritp in chrome console i get this: https://gyazo.com/f0...85a8879343c6222
When i try add this:
var e = jQuery.Event("keypress");
e.which = 13; //choose the one you want
e.keyCode = 13;
and
$('TEXTAREA').val(pQ); $("TEXTAREA").trigger(e);
I need like script write text in TEXT PLACE, when script add focus and when auto press enter (not in textarea)
GIF LIKE I WANT THIS WORK: https://gyazo.com/1f...10a04e158a9b678

New Topic/Question
This topic is locked


MultiQuote





|