I assume your use of braces instead of parenthesis is just a typo?
I am unable to reproduce this. This works for me:
$('body').append('<div id="foobar" name="foobar">...</div>');
$('#foobar').size(); // 1
Could you provide a sample page?
--Erik
On Mon, Oct 13, 2008 at 1:30 PM, Tim Scott <[EMAIL PROTECTED]> wrote:
>
> Given this element...
>
> <div id="foo" name="foo"></div>
>
> ...why this does not match the element...
>
> ${'#foo'}
>
> If I change or remove the name attribute, it does match. Is this by
> design or a bug?
>