No difference actually, except for the fact that jQuery('SPANID')
should actually be jQuery('#SPANID')
$ is just a shorthand for jQuery
EDIT: I understand that the real difference between $ and jQuery is in the possibile namespace collision with other libraries. Other than that, they work the same way.