Suppose I have a form in Which contains a numberinput
s and textarea
s. How do I identify which one is currently clicked on?
$('body').on('change', 'input textarea', function() {
})
In other words,How detect which type is currently clicked, input
s or textarea
s?