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

Is JavaScript validation is enough?

Is JavaScript validation is enough? Client-Side Script: Script run by the viewing web browser is called client-side script. Client side script example javascript, vbscript. JavaScript: JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced us...
More