changing image on click using JavaScript
ZControls_Games (16)

So every time someone clicks "Change Picture" I want it to change to the other pictures in my other files but I don't know how to do it with JavaScript.

Javascript instead of HTML

You are viewing a single comment. View All
ash15khng (304)

@ZControls_Games Which method are you using? You may need to get jQuery if you are using it. Add this in your document's head: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>