Given that all of these div's have the same prefix for their IDs, I would
guess they are all performing a similar function, hence they should have the
same class.
When I did this I used something like:

<div class='comment' id='comment126' ...>

rob.


On 4/15/07, Mike Alsup <[EMAIL PROTECTED]> wrote:


Tom,

You can select all divs with an id that starts with 'divname' like this:

$('[EMAIL PROTECTED]"divname"]')

Mike

> Hi, i need to be able to find all elements with a div id of something
> like divname plus some randmom number, each div id will be like this,
> so something like divname324 or divname453
>
> so how can I select all divs with a name divname plus some random
> numbers




--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.

Reply via email to