0
I want to creat target button.
Target button means someone click this button it auto press other position.how I do code it?
1 Antwort
+ 1
This is a skeleton example to show the idea. Please show your own code if you want further help.
button.onclick = () => {//your click function}
target.onclick = () => {button.click() // triggering button click event}