How can i set my background color through HTML5 getItem?
Posted
by Noor
on Stack Overflow
See other posts from Stack Overflow
or by Noor
Published on 2010-04-14T20:52:31Z
Indexed on
2010/04/14
20:53 UTC
Read the original article
Hit count: 235
Im using this code:
$(this).css('backgroundcolor', localStorage.getItem('bgColorr') + " !important;");
When i write:
alert( localStorage.getItem('bgColorr') + " !important;");
It gives me the proper alert, rgb(243,102,42) !important; ....
Really getting to me.. thanks guys!
© Stack Overflow or respective owner