How can i stop $.each loop?
$.each(files, function(index, file){
if(file.field_index == remove_file_index){
//Find remove_file_index Stop $.each
}
});
Continue to execute code...
Thanks
You can return false to stop the loop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With