Desperate late night coding before a submission.
I have two HTML objects with two separate class names that I'm looking to bind the same event with different actionlisteners.
<form class="form-wrapper cf" action ="">
<input id="searchInput" type="text" placeholder="Search for Sets or Cards" required>
<button class="searchButton" type="button">Search</button>
</form>
I've managed to handle the button on click, and after reading the documentation for "on" I see that you can bind multiple listeners to the same class. However I can't figure out if it's possible to do the keyup as well.
$(".searchButton").on("click" ,function(){