I want to select an input with a name "pass" which is inside a form with the id "idreg".
The idea is not to use an id in this input (obviously this would simplify what I want to do) and I can't select by the name because I have, in another form, a input with the name "pass".
$('#idreg [name="pass"]')