zerowing ha scritto:
How can I select the #blc2?HTML <div id="blc1"> <p>Some text</p> </div> <div class="openBloc"> <div id="blc2"> <h1><strong>Some title</strong></h1> </div> </div> Script $(document).ready(function(){ $('div#blc1').ifixpng(); $('.openBloc > #blc2').ifixpng(); });
An HTML id should be unique, then it could be simply : $('#blc2'); :-) -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) - italy+39 347 7196482