Break and continue in jQuery each function(loop)

This is post I am going to explain about break and continue in jQuery each function(loop). jQuery’s functions like $.each( Object obj, Function fn ) or $().each() are not loops.These are iterative functions. $().each() is used to iterate jQuery object and you can use $.each( Object obj, Function fn ) to iterate over anything (for example, an array). jQuery loops are not like javascript (for and while loop) loops. We can use ‘break;’ and ‘continue;’ inside a loop in javascript. But it will not...
More

How to get elements with contains text with help of jQuery

Get the elements which contains specified text inside the element(inner html) In this post I am going to explain about how to get elements which elements have specified text in that innerhtml. For example I have list of items with some contains. So, now we want to get the element which contains "jQuery". Example here :- Example html code :- <ol id="list" type="digit"> <li>I love <b>jQuery</b>.</li> <li>Java script is Basic</li> <li>Now a days j...
More