I have a page with a dialog window which sends ajax post data to server and receives a response. During development, there can be two responses - one regular (this is not th
I found this solution. I don't know if it si correct, but for Opera and Firefox it is working.
var error_win = window.open( '', 'Server error', 'status=0,scrollbars=1, location=0' ); error_win.document.write(XMLHttpRequest.responseText);