Referencing multiple elements at once?
Assume I have the following source structure:
- <div id="aaa-bbb-ccc-3263262623627" ....> .....</div>
- < div id="aaa-bbb-ccc-4568458573737" ....> .....</div>
- < div id="aaa-bbb-ccc-56747" ....> .....</div>
- < div id="aaa-bbb-ccc-8679865998080600" ....> .....</div>
How can I reference all elements in ONE jQuery statement?
Actually I need something like a wildcard to write
$('div[id="aaa-bbb-ccc-*"]')
But this does not work.
How do I have to re-write it?
It would be even better to have something more advanced, regular expression-like which let me limit the wildcard in more detail. So I can write instead of "*" the filter "one or more digits".
Peter