Assigning a CSS Class to a Variable Using jquery
<p>Currently, I have:</p>

<pre><code>&lt;html&gt;
&lt;div class="yes1"&gt;&lt;span&gt;&lt;img src="img"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/html&gt;
&lt;script&gt;
var x = "='yes1'"
var y = "='yes2'"
$('.yes1').click(function () {
$('.yes1').find(x).replaceWith(y)
});
&lt;script&gt;
</code></pre>

<p>And I can't get the find and replaceWith to work.  I believe I'm not assigning the variables correctly.  Any helpe would be appreciated.
Thanks</p>
