> I am using the rounded corner script on one of my sites. I am using > the below to round a corner on a div called 'rounded'. my question > is, how can i apply this to multiple divs ... for example apply it to > a div called #one, #two and #three. > > thank you > > <script type="text/javascript"> > $(document).ready(function(){ > $("div.rounded").corner('round 5px'); > }); > </script>
Just select the ones you want: $('#one,#two,#three').corner('round 5px');