Javascript examples for DOM HTML Element:Input Button
Conditionally Changing image of button in oracle apex
<html> <head></head> <body onload="changeImage()"> your input box with abdId .... //from w ww . j a v a 2 s . com <script language="javascript"> function changeImage() { if (document.getElementById("abcId").value) > 0){ document.getElementById("ButtonID").src ="/path/to/A.png"; else{ document.getElementById("ButtonID").src ="/path/to/B.png"; } } </script> </body> </html>