[Solved] stop jQuery execute any further code [closed]
return will stop the execution of the function in which you are calling it directly. So yes, it will work in your case, unless you are putting it in the other two functions (check or the self-executing one) – in that case it will of course only stop the execution in the function you have … Read more