JQuery 1.8 Ajax with FireFox 14.0.1
Hi!
I have problem with JQuery 1.8 (and 1.7.2) Ajax with FireFox 14...
1 - I'm calling a webservice to return a JSON object to me... this object contain a text html
2 - I'm show this text in a window... In this window I have two buttons... 'I agree' and 'Don´t agree'.
3 - If the user click in 'I agree', the window is closed and is call the function 'Save' of the parent window.
But, when I click in 'I agree', in FireFox, I get this message:
A script on this
page
may
be running or
stopped responding.
You can stop it now or continue to see if it finishes execution.
I'm calling the webservice this way:
- $.ajax({
- type: "POST",
- url: '/app/mzword/mzword.asmx/getDocument',
- data: { pCodiMDoc: 0, pContexto: 'Agenda de Salas', pRelacaoAuxiliar: '' },
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (data) {
- $.ajax({
- type: "POST",
- url: '/app/tools/ajaxscriptbridge.asmx/saveObject_AgendamentosSalasSGE_DAL',
- data: { objDAL: wnd.myObj },
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (data) {
- wnd.close(); //wnd is a window
- parentWnd.save(); //parentWindow save function is called
- },
- error: function (data) {alert('error!!!'}
- });
- },
- error: function (data) {alert('error!!!'}
- });