jquery - working with variables? -


let's have variable:

var $box = $(this).next('widget'); 

now want make div inside widget div fade out. how can can able access div inside box variable?

var $box = $(this).next('widget');  $box.find('#your_div').fadeout(); // #your_div selector,                                    // may have different 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -