<input type="button" value="click" id="btn" onclick="btn.style.backgroundColor='red'">