How can I find whether an element is a text box or text area using jQuery?
For example i am having two radio button:
While i clicking the first one it should display text box.
While i clicking the second one it should display text area.
But nearby text box label should be displayed “TEXTBOX” using jquery.
And nearby textarea label should be displayed “TEXAREA” using jquery.
How can this be done?
1 Answer