Delphi Can

Orjinalini görmek için tıklayınız: Trouble with Implementing a Real-Time Update Feature in Online Working Hour Calculato
Şu anda (Arşiv) modunu görüntülemektesiniz. Orjinal Sürümü Görüntüle internal link
I'm currently working on an online working hour calculator for my web project, but I've hit a snag. The feature I’m trying to implement is real-time updates. Specifically, I want the calculator to update the total hours worked as the user inputs their start and end times without requiring a page refresh or clicking a separate calculate button.
Here's a brief overview of my setup:
  • HTML form for input fields (start time, end time)
  • JavaScript to handle the calculations
  • Using AJAX for real-time updates
The issue I'm facing is that the calculation either lags or doesn’t trigger consistently. Sometimes, it only updates after multiple attempts. I've checked my event listeners and AJAX call, but can't pinpoint the problem. Has anyone faced a similar issue or can offer some insight into what might be going wrong?
Konuyu doğru forumda açtığınızdan emin olun. 
Not: Forumumuz yalnızca Delphi ve Delphi teknolojileri ilgili konu ve yorumları içeriyor.