By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,934 Members | 1,441 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,934 IT Pros & Developers. It's quick & easy.

onSubmit: how to determine which fields have changed?

P: 25
I have a form with lots of questions and a submit button. The answers are captured in text fields.

When <submit> is clicked, I want JavaScript to determine which fields have changed and submit only those.

Is that possible?
Dec 15 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
It is, but you will need to keep track of changes using the onchange event handler of each text box.
Dec 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.