Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:34:34+00:00 2026-06-06T13:34:34+00:00

i have one question about jquery ajax().. I created a table grid and there

  • 0

i have one question about jquery ajax().. I created a table grid and there is requirement to skip between cells with a tab key. The grid is constructed so that there is need to call ajax twice (for save the previous cell and show input in the second).
My issue is, that when someone is editing cells using tab, there is sometimes very slow response. Normal reponse is about 40-70ms and then in the same case is response longer than 1 second.. Why this is? It seems to me, that the server is not paying attention, because this problem occurs more often when there is delay in editing current cell.. Long response is not caused by type of data edited or samething like that.. It looks like that it is totally random..
I dont want to remake the grid, because everything works well except this problem…
Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:34:35+00:00Added an answer on June 6, 2026 at 1:34 pm

    I see two potential approaches for you to solve this problem.

    1. Modularity. If you can, isolate the grid into a sandbox prototype, where nothing else is implemented except what you need to reproduce the error. This is easy if your code is modular, potentially impossible if it is not.

      A second way to isolate behavior, is to actually disconnect from the server. Here is what I mean: it is possible to modify your ajax to simply return a ‘mocked’ object. This way you know that there is no latency or unexpected data type. The notion is called ‘data-mocking’ and is similar to a Test Driven Development setup. This will prove, for you, if something is awry in request response callback. But, I don’t think it is.

    2. Events. For some reason your description sounds like it may be event related. Isolating your grid into a prototype may unexpectedly solve this, if something is being clobbered. So here is my advice in this scenario:

      A. Test the error case cross browser. Events can behave differently in different browsers. This may give you a hint to the root cause.

      B. Step-Debug your code. If a flurry of events are being produced, or if another handler is stepping in when it shouldn’t – your best bet is to catch it in the act at runtime.

      C. Chrome, right-click, inspect element, scripts tab, and set breakpoint is a powerful workflow to help solve this.

      D. There is a common case with custom events that need to stopPropagation() or preventDefault() that will separate additional event actions from chaining along the DOM stack of handlers. This may or may not be the case for you, the reason that I mention it is that – when I’ve encountered it in the past, it initially looks random and difficult to reproduce. Here is a link to this information on MDN.

    Hope that helps!
    Nash

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have quick question about jQuery plugins, hope somebody out there has some advice.
I'm one day into learning JQuery and have a question about the octothorpe syntax.
I have one question about searching and counting files in directories and subdirectories. I
I have one question about Yii framework, and I need your help. Basicly, I
I have a question about Criteria method, one-to-many relation to the database, 'one' is
I have a question about usability/design. I currently am using some JQuery to hide/show
I just have a question about writing functions in jQuery. When defining your own
Quick question on best practice. I have an AJAX application where there are 4
I am fairly new to jquery and I have a question about updating data
I have a quick question about keyup with jquery. I have several form input

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.