I am trying to determine if the selected element is a input
type element.
var element = this.getElement();
console(element) => <input type='text' name='input' value ='test'> or something else
How do I check if selected element is input element.
I searched google and someone said it can be
element.is('input')
but it gave me error saying is
undefined.
Can anyone help me here? Thanks a lot!