I have a div called foxcontainer with a form inside, and inside the form each input box is in its own div, and all are without a name (except the first one, foxcontainer).
How do I select the 2nd (or 3rd) input box in that form with jquery so I can apply datepicker to it?
As an example, you can use
:eq()in selector:Another option is to use
slice():DEMO: http://jsfiddle.net/BU4Tf/