Post not yet marked as solved
Post marked as unsolved with 0 replies, 580 views
Hello,I would like to know if a way exist to show a loader when a page submit on safari and the gif / svg loader don't freeze. My script works on Firefox, Chrome... and I don't know why Safari don't work ? If you have an idea to fix this problem it will be cool !
<script>
function submitUpload(){ $('#imgProfileUser').attr('src','images/icons/loader_profile.gif'); setTimeout(() => { $('#fileProfileUploadForm').submit(); }, 250); }</script>