My button change once time. I want change many times in input. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My button change once time. I want change many times in input. Thanks you.

Change input many Time. https://code.sololearn.com/WJgwcViaEhfD/?ref=app

15th Jul 2021, 12:22 PM
Malick Diagne
Malick Diagne - avatar
1 Answer
0
My Javascript is rusty but from what I can see your code works fine. You click the button and the text changes to "1234", click it again and it still "changes" to "1234". If you desire a different behaviour, modify your javascript function.
15th Jul 2021, 12:26 PM
David Akhihiero
David Akhihiero - avatar