Imagine a table of form fields. I've been extracting the data from these fields by using .filter("[@name^='foo']") to get a particular row, and then looping over .filter("[@name$='bar']") to get the column. With the original version of jQuery, I have to do .end().filter("[@name$='bar2']") or I get an empty set. With the updated jQuery, that .end() returns the Document, which causes the chained .filter() to be meaningless.

If this turns out to be a problem that jQuery Update isn't meant to fix, I'd love to hear an alternate solution to my problem that works with or without it.

Comments

Island Usurper’s picture

Alternate solution I thought of as soon as I hit the submit button: go ahead and use two .filter()s for every value I need instead of trying to optimize. Sounds like I forgot the first rule of software engineering.

sun’s picture

Status: Active » Closed (works as designed)

I'm sorry, a) development on 5.x-1.0 has ended, and b) jQuery Update is not the right place to ask for support on coding jQuery.