Web technologies Questions | jQuery Quiz | Set-3 | Question 2
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
Please Login to comment...