+ 1
JavaScript help needed [web]
Need help me in this code i set background-color change on click of any three slider (input type=range) ... but its not working when i am moving slider, only work when i click on slider. https://code.sololearn.com/W0UsF81jxRP7/?ref=app
4 Answers
+ 3
Use onchange property, instead onclick.
+ 3
Try this way:
red = parseInt(red).toString(16).toUpperCase();
+ 2
@boris
Thanks
+ 1
@boris
please help on converting rgb to hexadecimal code
i tried to convert, but failed... code i used is in comment in js code