- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Here what I have:
There is an input field and a button.
I click on the button, and a text "example" is copied to field.
[example]
I also gave the focus to that field.
And now I have to press [space] to have a key-event on my field (then something else happens)
But I am lazy, I want to have this key-event also by script:
Code:
This does not work.
Any idea, what I can do instead?
There is an input field and a button.
I click on the button, and a text "example" is copied to field.
[example]
I also gave the focus to that field.
And now I have to press [space] to have a key-event on my field (then something else happens)
But I am lazy, I want to have this key-event also by script:
Code:
This does not work.
Any idea, what I can do instead?
نام موضوع : Simulate a key in a field