Note the use of two functions: one to make a yellow background, one to make a white background. Any element that you want to change must be given the "mychange" class, which is actually defined twice (yellow/white), once for each function. Here you see the onclick event handler used in both a link and with a form button.


Answer || Reset

Hello, this word is yellow and this word is yellow, too......