bjreed wrote:
>  $("#sec-adv").each(function(){
>               
> $("#page-photo").css('background-image','url(../images/pagepic.jpg)'); 
>  });
>   


Why are you using .each() ? Surely this would be better:

$("#sec-adv #page-photo").css('background-image','url(whatever)');

Reply via email to