How can I pick an id element (here #bridge1,#bridge2) and toggle its child (here a p element) without actually using the id element as parent? 'this > p' apparently does not work.
$('#bridge1,#bridge2').click(function(){ $('this > p').toggle(); return false; }); Thanks for your help!