last day, One of my friend was facing a strange problem in the select element. His select element has some disabled options( using the disabled attribute), and element is working fine every where but failed in the safari (ipad) and also disabled attribute is not supported in Internet Explorer 7 and earlier versions. After implementing … Continue reading Restrict selection of some options in select element without disabled attribute using jQuery
There are many situation when we need to execute the loop at least one time and then check the condition. In this case you can use do while loop.
If you want to skip some iteration in loop than you can use Continue statement.When you use Continue statement in a loop,it break the current loop and continue with the next value.
The break statement will break the loop and continue executing the code that follows after the loop.