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 ??