+ 5

how can i create a onclick button but that intiates/start the loader to spin ...look at my code

https://code.sololearn.com/WiWJ21bvjBcC/?ref=app

5th Jun 2018, 6:21 PM
RANGER
RANGER - avatar
4 Respuestas
+ 7
Hi W3B TR1CK5T3R . I created onclick trigger to run your animation https://code.sololearn.com/WlAv5WDJ9kZ5/?ref=app
5th Jun 2018, 8:34 PM
r8w9
r8w9 - avatar
+ 2
thanks all for the help
6th Jun 2018, 6:08 PM
RANGER
RANGER - avatar
+ 1
try to addClass the class loader and make it add the class to the div or to the id loader
5th Jun 2018, 6:39 PM
Roel
Roel - avatar
+ 1
I think you need setInterval method inside an asynchronous function.
5th Jun 2018, 7:01 PM
Bebida Roja
Bebida Roja - avatar