Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | jQuery Quiz | Set-3 | Question 2

  • Last Updated : 20 Sep, 2021

Which selector is used to select input elements with having a text field?
(A) $(:password)
(B) $(“:text”)
(C) $(“:password”)
(D) $(:text)


Answer: (B)

Explanation: The :text Selector is used to selecting input elements with having a text field. The main use of text selectors is for text selection. This selector is responsible for extracting the text from the selected element and its child components. Simply we can say that they Selected all the text which type is text.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!