[jQuery] Any way to get all attibutes of a node?

[jQuery] Any way to get all attibutes of a node?


Is there any way to use jquery to get an array of all attributes a
given node has? I'm writing some code to process a page where the
user might have added custom attribute names that I can't know about
in advance but need to detect.