jQuery multiple selectors but cached in a variable
<p>I'm trying to avoid the following:</p>

<pre><code>var dynS = $('#dyn-style');
var cssA = $('#css-active');

$('#selectors li').click(function(){
    switch($(this).attr('data-id')){
        case 'first-of-type':
            dynS.empty().text('#target p:first-of-type {color: red;}');
            cssA.empty().text('#target p:first-of-type {color: red;}');
</code></pre>

<p>Is there any way I could use the cached selector variables and set the text() as the same on both, to avoid this duplication?</p>
