Well, literally translated, it will be:
$('form:first *:nth-child(i)').val()
But jQuery makes it easier to capture elements in other ways, such as an identifier or CSS selector. It would be easier to maintain if you did something like:
$('form#id input.name').val()
Fortes
source share