Maybe you hit the timeout for AJAX in jQuery?

Try:

$.ajaxSetup({
  timeout: 10000
});

It will change AJAX timeout to 10 seconds.

Or you can try to do this by $.ajax method where you can specify the
timeout.

On Jun 26, 12:07 pm, "saa...@gmail.com" <saa...@gmail.com> wrote:
> Hi
>
> I am trying to send with getJSON a very long string as parameter:
>
> $.getJSON("/ajax.php",{id:myid, thetext:mytext},myAjaxResult)
> where "mytext" - is value from my fckeditor.
>
> If "mytext" value is not so long, everything is going fine, but if it
> become a very long, getJSON doesn't work.
>
> How can I solve this question?

Reply via email to