Skip to content

Instantly share code, notes, and snippets.

@samuelcotterall
Created May 21, 2015 10:26
Show Gist options
  • Save samuelcotterall/639b9090ba9c4dbd21e7 to your computer and use it in GitHub Desktop.
Save samuelcotterall/639b9090ba9c4dbd21e7 to your computer and use it in GitHub Desktop.
$("#myformid").find("input, select").on('change', function(){
$("#myElement").addClass("myclass");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment