" It seems the problem is that jQuery cannot
find elements having an ID with dots in it"
It can, but you need to read the documentation on how to get around
jQuery thinking the dot means "has CSS class of"
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weir
First sorry for the errors in my example. Braces was a typo. Div
with name attribute was an error also. My real issue is with a select
tag.
Anyway...while creating a sample page I have found that the problem is
different than I thought. It seems the problem is that jQuery cannot
find elements
As Erik says, a sample page would help. I am guessing that you may be
using IE6/7, where getElementById returns elements that match the name
attribute as well. Also, what doctype are you using? I don't think any
of the common ones support a name attribute for the div element.
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('...');
$('#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 th
4 matches
Mail list logo