I am very new to jQuery so I am sorry in advance for the ease of this question. I have a page with several text boxes. I am using the selector shown in the code below to get all of the text boxes on the page. I am assuming this selector returns an array of text boxes. I want to clear all of those text boxes. In order to do this I set its val to an empty string. However I thought I would need to use the each method because I am dealing with an array. It appears to work without the each method. Why is this? Does jQuery automatically know to apply the val to every element within the selected array?
$(":text").val("");