Provide Onclick Image change | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Provide Onclick Image change

On load an image should be displayed,on clicking the next button image should change and on clicking the previous button the previous images should be loaded.

2nd Sep 2016, 4:44 AM
Manikanth Vanka
Manikanth Vanka - avatar
3 Answers
2nd Sep 2016, 12:30 PM
Zen
Zen - avatar
0
focus again on advance java script portion of this app
3rd Sep 2016, 4:25 AM
if u dare challenge me!
if u dare challenge me! - avatar
- 4
U can use "innerHTML" from DOM. However I suggest you learn jquery which makes things a lot easier
2nd Sep 2016, 9:34 AM
Shadman Sudipto
Shadman Sudipto - avatar