auto press enter [don't working]
Hello i have problems with my scrtip, i want this script paste in chrome console but don't work.
I need auto press enter when my script write text.
My script:
pQ
+=
$
(
".amount"
).
html
();
and
$
(
'TEXTAREA'
).
val
(
pQ
);
When i paste my scritp in chrome console i get this:
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);
When i trys this auto press enter don't work just script paste text in TEXT PLACE