What difference does the greater than symbol (>) make here?
Is $('#someElement').find(">[someAttribute]") the same as $('#someElement').find("[someAttribute]")?
No : it only selects an element if it's a direct child of #someElement.
It's semantically based on the CSS direct child selector.
See child selector's documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With