What am I doing wrong? Artjom B. Add a comment. Active Oldest Votes. Tamil Selvan C Jyoti Raj Jyoti Raj 3 3 silver badges 2 2 bronze badges. Umanda Umanda 4, 3 3 gold badges 21 21 silver badges 27 27 bronze badges. Working jsFiddle Please use. Change your code like. Salam naseer, size is deprecated as of jQuery 1. Use the. Sajid Khan Sajid Khan 51 1 1 silver badge 2 2 bronze badges. Penny Liu Penny Liu 9, 5 5 gold badges 50 50 silver badges 75 75 bronze badges.
Make the following change: console. Harshith Rai 2, 7 7 gold badges 20 20 silver badges 33 33 bronze badges. Simply adding a line of code that prints something doesn't really help in answering a question.
I am trying the following code but does not seem to work. The code is prompting me 1. Can you pls help me? Jquery li count in ul Asked ago. Active 3 hr before. Viewed times. If you need every UL element containing at least two LI elements, use the filter function:. Add a comment. Active Oldest Votes. DinoMyte DinoMyte 8, 1 1 gold badge 16 16 silver badges 25 25 bronze badges. That would give you zero.
DinoMyte - how so? Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete?
0コメント