javascript - google chrome DOM manipulation -
i use
<a class="waves-effect waves-light btn disabled">submit</a>
to prevent users submitting form if not input according validation rules.
however, when inspect element through google chrome , remove disabled
class source.
boom, button turns active
button.
so wondering how prevent this?
thanks.
there no disabled attribute tag. if want disable hyperlink change js e.g span tag. here have more solutions
Comments
Post a Comment