<form> <input type="button" Value="Click for Yellow" onClick="document.bgColor='yellow'"> <input type="button" Value="Click for Blue" onClick="document.bgColor='blue'"> <input type="button" Value="Click for Green" onClick="document.bgColor='green'"> </form>


####This script will work with any color command your browser understands. You can also change what the button reads by changing out the VALUE statement. Just change them in the script. For example, you could change - Value="Click for Yellow" - to just read - Value="Yellow"

Note: CSS Style Sheet background color will supersede this script and prevent it from working with most browsers. To use this script on a specific page simply use an HTML background color and do not include a CSS Style background color. ####

Return