I ran into this problem, and from some Google searches, I realized that this is probably a bug in Chrome and Safari browsers.
When I submit the form (basically, I make an ajax call), the default cursor changes the wait cursor (hourglass), and when the ajax call is completed (answer), the cursor changes to the default type (arrow). However, this only works in IE and FF. In Chrome, the cursor still remains the hourglass cursor until I do something like moving the cursor or warning, etc.
I tried a solution similar to the one mentioned here , which uses the JQuery Ajax Stop and Start event to trigger actions, but for some reason this does not work for me.
Below is the jsp / html code.
function SubmitForm() { globalAjaxCursorChange(); // some code to make Ajax call } function globalAjaxCursorChange() { $("html").bind("ajaxStart", function(){ $(this).addClass('busy'); }).bind("ajaxStop", function(){ $(this).removeClass('busy'); }); }
And this is my CSS code.
html.busy, html.busy * { cursor: wait !important; }
What am I missing or where am I mistaken? The solution mentioned in the article seems pretty frank to me, but doesn't work. Thanks so much for any advice.
source share