ambikatech
-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Change text color of button after it is pressed
in HTML Help
Posted
<script type="text/javascript" language="javascript">
function audio_onload()
{
<?php
if ($LED2 == "ON")
{
?>
// Turn text color of Power On button into red
document.getElementById("btnLED2ON").style.color = "red";
<?php
}
?>
}
</script>