I have a problem with jQuery-ui Dialog when using ajax
$.ajax({ url: "folders.php", cache: false, data: { 'do' : 'Ajax' ,'_a' : 'ChangeMoviesFolder' ,'MovieIDS' : MovieIDS ,'toFolderID' : toFolderID ,'fromFolderID' : fromFolderID }, context: document.body, open: function(event, ui) { alert('open'); }, error : function(XMLHttpRequest, textStatus, errorThrown){ // Handle the beforeSend event // alert("responseText: "+errorThrown.message); }, success: function(data){ $('input.checkMovie').attr('checked',0); $("#resultsTable").find('tr.selectable-row').removeClass('active'); if (data == '1') { window.location = WWW_ROOT+'movies.php?do=List&FolderID='+toFolderID; } $dialog.dialog("close"); }});
when using IE ajax never succeeds by mistake I got
"This method cannot be called until the public method is called."
This only happens in IE.
Can anyone know what could be the problem?
(all the vars are fine and work fine in FF and chrome)
thanks.
after ala ajax validation doesn't work with IE at all
I tried
$. Ajax ({url: 'movies.php', data: "do = UpdateMovies & _a = SetStatus", success: function (data) {warning ('something');
}});
inside the function, no vars, I tried this as in
http://api.jquery.com/jQuery.ajax/
and just do not run it, any help will be described