<input type="number" id="test">
I'm trying to figure out how to set an event listener for the two arrow buttons on the right of this number input field. Typically, we can use jQuery like:
$("#test").on("click", function() {});
or vanilla JavaScript like:
document.getElementById("test").addEventListener("click", function() {});
But what selector should we use for those arrow buttons? Is it even possible?
https://i.sstatic.net/b71mO.png
If anyone has any insights, please let me know!