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: 238

Filed under:
|
|
|

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

Related posts about css

Related posts about html5