I would like to know if you have a javascript check if an attribute of an element has been changed or not.
For example: If I have a input
, I put the required
attribute on it, and someone goes there and deletes required
of that element with Google Chrome Developer Tools , there would be any way, through javascript, to detect this?
Is there an event in javascript that can do something like this?