I have an administrative page that loads 1,000ish rows, each with a select element. The intended behavior is that when any element is changed, a server connect update routine is run. I’m using the updated dynamic event to trigger this, as the on change does not yield the new value. Generally, this is working, however with the following anomaly:
A few of the select elements trigger the updated event on page load (no user interaction), which triggers unnecessary updates to the server, along with their corresponding success notifications.
Here is my select element:
And the end of the network log:
The elements that trigger this are not always the same, and you can see that while the page loads quickly, the last couple of entries are ~50 seconds later…all without any user interaction.
Any ideas on what might be causing this, or perhaps an alternative approach?
Thanks!
Last updated: