There are two issues here:
1. There should never be any more than one instance of an id on any one page
so your query about being able to select multiple ID's is flawed by this.
2. In your code you would need to prepend your is query with a #
As for being able to select multiple classes or ele
On Nov 29, 2007, at 4:44 PM, Goon wrote:
can you select elements with a partial id, something like this:
$("#my*")
instead of
$("#my_id")
Well, sort of. You'll have to do it by the ID attribute, using the
attribute selector.
$('[id*=my_id'])
Warning: this can be a little slow if you
2 matches
Mail list logo