I understand that we can use (javascript)

if (typeof textbox === "object") { } 

but are there methods which will allow me to ensure that the object is a textbox?

Edit
Report