Hi
I try to pass the value from the input to the function that is triggered by event onclick of the button. Finally, when clicking on the image, the Alert must appear. If i type value 3 in the input, the Alert must show 3. But it doesn't work.
Thanks.


Sachin SinghRank #66 · 26.2K reputationPosted Aug 28, 2022, 3:03 PM EDT
Valerie MeunierRank #1,527 · 1K reputationPosted Aug 28, 2022, 5:16 PM EDT