Jquery loop all inputs

All of the input elements that I want to attach the datepicker to have a class of date-pick.The 'find' method can be used to get all child inputs of a container that has already been cached to save looking it up again (whereas the 'children' method will only get the immediate children). iterate over array if input element with same name, different index, same suffix. Here's a better . I can do every. So I'd like to set all selects inputs that don't already have option 2 selected to be selected and have a value of 2-updated
jQuery set all select inputs to certain value
Next, we will use the each () method to iterate over the inputs to display the .