I've just answered this question on StackOverflow to which I've received three down votes almost immediately. My answer didn't directly completely answer the question (I've since edited it to include a link to the documentation), but it did give the way for the user to easily get the answer:
You may also be able to just use jQuery's default attr() method:
I've just tried this on the official site and this is in fact the case:
...which means that the
$('#picker').attr('name'); assumption included in my answer is correct.
When answering questions, do I have to give a direct answer rather than just explaining how a user can get the answer themselves?