I have:

```
$elements = $('.elements');
$element = $('.element');

function appendText(element){
    element.append('<em> appended text</em>');
}

appendText($element);

$('button').on('click', function(){
        $elements.append('<span class="element">Span Element Appended after load</span>');
        appendText($element);
});

```

The appendText function, after button click, appends only to the initial element and that is due to JS cache I presume.

I know that I can do appendText($('element')); and the problem will be solved, but I don't want to change all my code now.

Is there any way to make jQuery consider this $element variable as not a cached element and look into the full DOM each time I call that variable?

Please find the jsfiddle if you wish to play or understand better: <http://jsfiddle.net/adyz/733Xd/>