jquery selector doesnt work in clones $j("[name=name\\[0\\]]")
Hi,
according to:
http://api.jquery.com/category/selectors/
I tried the following code which should work,
but it does not.
... or did I some error????
This is the HTML snippet-----------------------
<p name="name[0]"> p with name "name[0]" </p>
This is what I type in theFirebug Console---------------------------
>>> $j("[name=name\\[0\\]]") // this one works
[p]
>>> cl=$j("[name=name\\[0\\]]").clone() // we clone it
[p]
>>> $j("[name=name\\[0\\]]",cl) // find it in the clone FAILS
[]