compareFields A simple JavaScript function used to compare fields for equality. Requirements jQuery Use Simply read through the script and change any queries to suit your need. Ex.: #id's, .classes, types, values