Here is the code:
let el = document.querySelector("input[name='test']")
But e only points the actual element.
Is there a way to get the key code as well?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!