![]() I found that after I added the setTimeout call I was sometimes seeing a wait cursor show up before the progress cursor was set, so I commented out my cursor code. Interestingly, on Firefox I discovered that this means I don't need to change the cursor at all. ![]() It doesn't mess up the code as much as I was originally thinking, because I can keep the function declared right there- it's just like adding an inline scope block. If you really want to read it check the revision history. : I decided all the back-story I had up wasn't really necessary. My thought is that the browser needs to wait for the method to return to be able to handle the cursor change message generated by the windowing environment, but that may be way off and even if it's true I don't know how to fix it. MyLongRunningMethod() does it's thing correctly, but the cursor never changes. MyLongRunningMethod() //blocks for 10-15 seconds before returning Here is what I have currently, but I've tried several other things as well: // SORT ![]() I want to show the "progress" cursor while it runs. In my case it's sorting the rows in a table element (all in the DOM only takes too long if there are a lot of rows), but it might do anything. Let's say I have a javascript method that takes a little to long to finish to go without any user feedback at all. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |