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 -

java - Play! framework 2.0: How to display multiple image? -

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