Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 595 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 595 Bytes

compareInputs

A Q&D Javascript file that compares all inputs in a page, check their values and return all the changed ones in an array. The fields to be compared have a key based on ids, but the script can be changed to use a special attribute for this.

###Demo available here

####The code has still to be improved :

  • Create inputs query function as a helper function used in both cases (former and new)
  • Create an alternate method for the querySelectorAll that is not supported on IE <= IE7