I got a loading gif feature in my ajax call. In all ajax call, I can trigger the loading gif.
But I want the loading gif to be triggered when I trigger a process in a controller too. The controller function is not being triggered by ajax call so my loading gif is not showing.
Is there any way I can trigger loading gif when controller is processing?