+ 1

How to load script if user click on button?

Hey, guys! How to load script if user click on button? I have JS script – random, generate link for file every click on button, but only one. For new generate link need reload page. How to edit this and get generate every click on button? Sorry for my English :D

20th Mar 2018, 3:52 PM
Artemiy Shishkin
Artemiy Shishkin - avatar
2 Answers
+ 3
2 easiest ways I can think of. 1: change the content of the on click event each use 2: make your own click event function that returns random results in the form of source
20th Mar 2018, 5:31 PM
Michael Simnitt
Michael Simnitt - avatar
+ 12
Sorry Friend i'm not good in js you can contact Morpheus .. and Ask him..he can javascript very well😊 https://www.sololearn.com/Profile/3083060/?ref=app
20th Mar 2018, 4:58 PM
☆SampathđŸ‘»
☆SampathđŸ‘» - avatar