I have this code that wants to change the background color of the webpage after clicking a button. I have no CSS for this webpage is just an empty asp.net page
<asp:Button ID="btn_Change" runat="server" Text="Change" OnClientClick="changeBackground()" />
<script language="JavaScript">
function changeBackground()
{
document.body.style.backgroundColor = "#eeeeee";
document.getElementById('<%=txtBox3.ClientID %>').style.backgroundColor = "#00FF00";
}
</script>
now the problem is the change only occurs on the click and not staying after the click. How do I make the change stay permanently?