Things I tend to forget


YUI DataTable not refreshing in IE

IE is very annoying when it comes to JavaScript code. But that’s for another entry.

For now, I just learned that my code that refreshes the YUI DataTable will not work unless I stop the caching. I added the following code:

var refreshDataTable = function() {
            myDataTable.showTableMessage("Loading...");
            var currentState = History.getCurrentState("myDataTable");
            currentState = currentState + "&d="+new Date().getTime();
            handleHistoryNavigation(currentState);            
        };

Similar Posts: