Why is setTimeout(fn, 0) sometimes useful?
http://stackoverflow.com/questions/779379/why-is-settimeoutfn-0-sometimes-useful
jquery validation
setTimeout(function() { $('#my_field').rules('add', { required: true }) }, 0);
http://stackoverflow.com/questions/779379/why-is-settimeoutfn-0-sometimes-useful
jquery validation
setTimeout(function() { $('#my_field').rules('add', { required: true }) }, 0);