jQuery find length of li element in ui or number of li element in ui

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
 var count = $("#selected li").length;

//If you have to use  .children()
 var count1 = $("#selected ul").children().length;

 var count2 = $("#selected ul").size() ;

<div id="selected">

44 thoughts on “jQuery find length of li element in ui or number of li element in ui”

  1. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed surfing around your blog posts. After all I will be subscribing to your feed and I hope you write again very soon!

  2. I’ve recently started a web site, the info you offer on this site has helped me greatly. Thank you for all of your time & work. “A creative man is motivated by the desire to achieve, not by the desire to beat others.” by Ayn Rand.

  3. I just want to tell you that I am just very new to blogging and site-building and honestly savored this blog. Likely I’m planning to bookmark your blog post . You amazingly have outstanding articles. Thanks a lot for revealing your web page.

  4. I am not sure where you are getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for wonderful information I was looking for this information for my mission.

  5. A lot of thanks for all of the labor on this web site. Kim really likes managing investigation and it’s really obvious why. We notice all of the compelling way you provide important ideas through this blog and as well as increase response from other people on that article then our child is now becoming educated a lot of things. Take advantage of the remaining portion of the year. You’re performing a remarkable job.

  6. This really is the fitting blog for anybody who desires to find out about this subject. You notice a lot its nearly onerous to argue with you (not that I truly would want…HaHa). You undoubtedly put a brand new spin on a topic thats been written about for years. Nice stuff, basically fantastic!

  7. Hi! I hope you don’t mind but I decided to post your web site: https://akkikhambhata.wordpress.com/2012/01/04/jquery-find-length-of-li-element-in-ui-or-number-of-li-element-in-ui/ to my internet directory website. I used, “jQuery find length of li element in ui or number of li element in ui aKKI kHAMBHATA” as your website title. I hope this is fine with you. If perhaps you’d like me to change the title or remove it completely, e-mail me at Tazelaar@gmail.com. Thank you.

  8. Hi there, You might have performed an incredible job. I’ll surely digg it and for my part suggest to my friends. I’m positive they is going to be benefited from this web site.

  9. Wow that was strange. I just wrote an extremely long comment but soon after I clicked submit my comment didn’t appear. Grrrr… properly I’m not writing all that more than once again. Regardless, just wanted to say fantastic weblog!

  10. I’m starting up a new internet website directory and was wanting to know if I can submit your website? I’m hoping to increase my directory slowly by hand so that it maintains high quality. I’ll make sure and put your website in the proper category and I’ll also use, “jQuery find length of li element in ui or number of li element in ui aKKI kHAMBHATA” as your anchor text. Make sure you let me know if this is alright with you by e-mailing me at: Courie@gmail.com. Bless you

  11. Thank you so much for providing individuals with remarkably terrific opportunity to check tips from this website. It is usually so lovely and also packed with a lot of fun for me and my office fellow workers to search your blog at minimum three times per week to study the fresh items you will have. And of course, I am just always astounded with the fantastic creative concepts you serve. Certain 2 ideas on this page are ultimately the best I have ever had.

  12. First off I want to say awesome blog! I had a quick question in which I’d like to ask if you do not mind. I was curious to find out how you center yourself and clear your mind before writing. I have had a tough time clearing my mind in getting my ideas out. I do enjoy writing but it just seems like the first 10 to 15 minutes are generally wasted simply just trying to figure out how to begin. Any suggestions or hints? Appreciate it!

  13. Awesome blog you have here but I was wondering if you knew of any forums
    that cover the same topics talked about here? I’d
    really like to be a part of community where I can get comments
    from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know. Bless you!

  14. My brother recommended I may like this website. He used to be entirely right.

    This publish truly made my day. You cann’t imagine just how
    a lot time I had spent for this info! Thanks!

  15. Unquestionably believe that which you stated. Your favorite reason seemed to be on the net the
    easiest thing to be aware of. I say to you, I definitely
    get irked while people think about worries that they just don’t know about.
    You managed to hit the nail upon the top and also defined out the whole thing without having side-effects ,
    people could take a signal. Will likely be back to get more.

  16. Hello there! This blog post could not be written mmuch better!
    Looking at thus post reminds me of my previous roommate!
    He always kept talking about this. I am going to send this article to
    him. Fairly certain he’sgoing to have a very good
    read. Thanks foor sharing!

  17. hello!,I like your writing very so much! proportion we
    keep in touch extra approximately your article onn AOL?

    I need an expert in this house to resolve my problem.
    May be that’s you! Looking forward to peeer you.

  18. Howdy! This is my first comment here so I just wanted to give a quick
    shout out and tell you I genuinely enjoy reading your articles.

    Can you recommend any other blogs/websites/forums that
    deal with the same subjects? Thanks a lot!

  19. Nice post. I learn something new and challenging on websites I stumbleupon everyday.
    It’s always interesting to read articles from other writers and practice something from other sites.

  20. Hi there! This is my first visit to your blog! We are a group
    of volunteers and starting a new project in a community in the same niche.

    Your blog provided us beneficial information to work
    on. You have done a wonderful job!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s