After this code, each
stops itself, but the code after (for example, alert('abc');
) is executed.
How to stop the whole function, with a negative condition inside each
?
function A() { $('input').each(function() { if (!$(this).val()) return false; }); alert('abc'); }
goto
:-D - Grundy