:input
The jQuery :input selector is used to select all button,input,select and textarea elements.
button
input
select
textarea
$(':input')
In below example,We will hightlight all input elements.
Try now