This is really weird to me. Why does $("element").data(.....);
work but not jQuery.data(....);
?
According to the docs here: http://api.jquery.com/jQuery.data/
you should be able to use jQuery.data
to attach data to elements as well....
Am I doing something horribly wrong?