[jQuery] Re: sometimes lenght property does not work but size() does return correct value

2009-12-13 Thread jpcozart
Did you misspell it in your code? $('p').length On Dec 13, 2:59 am, manko uha...@gmail.com wrote: Sometimes $('p').lenght returns undefiend property but when i replace lenght with size() method i get the  correct number of p elements in current dom ??

[jQuery] Re: sometimes lenght property does not work but size() does return correct value

2009-12-13 Thread Ariel Flesler
It's length, not lenght. -- Ariel Flesler On Dec 13, 5:59 am, manko uha...@gmail.com wrote: Sometimes $('p').lenght returns undefiend property but when i replace lenght with size() method i get the  correct number of p elements in current dom ??