Set background by jquery in a multiple selector -


i want set background css style jquery , problem have selector @ .css

#wrapper-inside #content {background: url("http://") no-repeat scroll 0 0 transparent;} 

at html this:

<div id="wrapper-inside">                 <div id="content"> 

its possible set .css method background rule?

you can apply using .css in jquery

.classname{ ...... }  $('#content').addclass('classname'); 

if want add class can add using .addclass();


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -