<button onclick="document.getElementById('lightbulb').src='on.gif'">Turn on the light</button>
<img id="lightbulb" src="off.gif" style="width:150px">
<button onclick="document.getElementById('lightbulb').src='off.gif'">Turn off the light</button>
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.