Ticket #5535 (closed bug: worksforme)
Different results for attribute filter strings vs. find specifying attribute
|Reported by:||MarkE||Owned by:||john|
|Keywords:||attribute filter find||Cc:|
See attached file for example.
<input> tags with different ids. Want to select those where user has typed in specific text.
The following returns inputs which had the value 'foo' when the page was created (unexpected). $("#inputs input[value='foo']");
The following returns inputs which had the value 'foo' at the time of invocation (expected): $("#inputs").find("input[value='foo']");