Here's another question for you!
This time, I need to display some progress while loading child rows. There is an API call that takes a short amount of time to return data, so I want to show some progress to indicate to the user that the call has been made and the child rows are loading.
What I have tried:
I created a CSS class that includes an image called loader-small.gif
:
tr.loading td.details-control {
background: url('/Images/loader-small.gif') no-repeat center center;
}
And then applied it like this:
$('#accountManagerEarningsDataTable tbody').on('click', 'td.details-control', function () {
// Code block continues here...
The Issue:
In Firefox, the progress image shows up after clicking the parent row, but in Edge and Chrome it does not. Both browsers seem to skip over this code when debugging using their developer tools.
Could this be a browser compatibility problem? Is there a solution to make it work on all browsers? Any help would be appreciated.