Topic: Problem with IE6 reload doesn't work
Hello, I have a problem with IE6 and IE7. I have a code:
var request = function(e) {
new Event(e).stop();
var theDump = tree.serialize();
var req = new Request({
method: 'post',
url: "menuorder/save.php<? echo "?l=".$_GET['l'];?>",
/*onSuccess: function(html) {
$('debug').empty().set('text',html);
},*/
onComplete: function() {
tree.reload({
url: 'menuorder/data.php?json=yesplease<? echo "&l=".$_GET['l'];?>'
});
}
}).send('m='+JSON.encode(theDump));
};
$('save').addEvent('click', request);function reload was implemented in tree class:
reload: function(options){
var tree=this;
this.del();
this.load(options);In FF everything is ok, but in IE 6 when click on "save" everything in window with tree is dissapearing, in IE7 tree is reloading but in old sort order. Please help with this.
Best regards
Paul