Hi,
I have a form and want to select a text input element _in that
specific form_. This is my code:

$("form [name=" +formName + "] :text[name=" +textInputField+ "]"))

formName:  a form in my document
textInputField: a <input type="text"> in my document

If I do this

alert($("form [name=" +formName + "] :text[name=" +textInputField+
"]")).length)

I get 0

If I do this

alert($(":text[name=" +textInputField+ "]")).length)

I get 1
I have no idea what I am doing wrong...

Reply via email to