Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajax infinite loop #45

Closed
fbarbier opened this issue Apr 3, 2012 · 0 comments
Closed

ajax infinite loop #45

fbarbier opened this issue Apr 3, 2012 · 0 comments

Comments

@fbarbier
Copy link

fbarbier commented Apr 3, 2012

jQuery TextExt Plugin (in ajax mode) running an ajax infinite loop if the server doesn't return any data.

Exemple code :

  $('#textarea')
          .textext({
            plugins : 'autocomplete ajax',
            ajax : {
              loadingMessage:'test',
              url : "server url",
              dataType : 'json',
              cacheResults : true
            }
          });
  });

If server respond a "404 not found", the ajax autocomplete is still trying to contact the server and never stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants