I'm looking for a Javascript that can go through all the elements (checkboxes, textboxes, etc) in a form of mine onLoad and test to see if their value equals something, then do an action. Does anybody know a way of doing it? I have seen some form validation that use the onSubmit="functionName(this)" in the form tag but that doesn't seem to work with an onload.