Tuesday, 15 June 2010

javascript - What does jQuery .next method return if invoked on the already last element? -



javascript - What does jQuery .next method return if invoked on the already last element? -

i have task traverse 1 particular row of table either particular row or end of table. sure can check returned value of .next method check lastly processed node lastly sibling. method homecoming in situation? documentation page method doesn't specify or can't find it.

if want check if there command next.

if($("myselector").next().length > 0)

javascript jquery dom

No comments:

Post a Comment