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 ??
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 ??
2 matches
Mail list logo