Skip to content

Instantly share code, notes, and snippets.

@MaySnow
Created September 29, 2012 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaySnow/3804358 to your computer and use it in GitHub Desktop.
Save MaySnow/3804358 to your computer and use it in GitHub Desktop.
Jquery 获得 div层下子元素的个数
$(div).children().length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment