I have an existing jquery collection, generated like this:
obj = $('some-selector')
obj is passed to a method that uses $('some-other-selector').data('some-data-attribute');
However, the value of $ may have been redefined by the time this method is called (say, because of different jquery versions on the page).
Therefore, I need to get hold of the $ object that was used to generate the original obj. Is there some way I can go from obj to the $ object?