1
Does anyone know how I could catch the value
of a button
using Jquery?
What I want to do is use this value
in a textarea
, so it doesn’t necessarily have to be the value
, the name
would also serve.
I want you to Function like this:
I have a list with several Buttons
, and next to a textarea
. What I want is when clicked on the button (each with its own value
or name
) appear the value
/name
in textarea
next door.
And what I’m not getting is to take the value
/name
of button
by clicking on the button.
For that I already have each boot with same id
, and in Jquery use the function .click()
Could someone help me?
Grateful from now on!
It worked here @Lucas Costa. I was trying to get the boot with the id. Valeu!
– Gabriel