I need to make an input button for a form i have created in html, But what i need to do is when the button is clicked it turns the background to green or whatever and when clicked again it turns back to the color before.
Heres what i have but that bg color stays the same.
Heres what i have but that bg color stays the same.
Code:
<input style="background-color:green;" TYPE="submit" name="vars" VALUE="Enter">
Comment