M
Martin
I have a form on a page in which there are 45 inputs of various kinds.
(It's a table with the user having the ability to update the displayed
data). In actual use, there will seldom be more than one or two inputs
that get changed at any given time. On the server side, the scripting
is having to do a LOT of work to figure out which inputs have been
changed and therefore need to be processed.
I'm wondering if there is a way that the server script can tell
whether a given input has been changed?
One idea I thought of is to use the javascript onChange event to
append some kind of a "flag" character to the input's value when the
user makes a change. Then, on the server side, I could check each
input value looking for that character and then, when found, strip it
off and do the updating. (and, yes, the page already has javascript
being used in it).
Anyone know of a better way?
(It's a table with the user having the ability to update the displayed
data). In actual use, there will seldom be more than one or two inputs
that get changed at any given time. On the server side, the scripting
is having to do a LOT of work to figure out which inputs have been
changed and therefore need to be processed.
I'm wondering if there is a way that the server script can tell
whether a given input has been changed?
One idea I thought of is to use the javascript onChange event to
append some kind of a "flag" character to the input's value when the
user makes a change. Then, on the server side, I could check each
input value looking for that character and then, when found, strip it
off and do the updating. (and, yes, the page already has javascript
being used in it).
Anyone know of a better way?