How Do I Store A PHP Variable In JS For Use With jQuery?
<p>I'm wondering where I would put code to take a variable from PHP (used in numbering classes) and store it in a variable that jQuery can access?</p>

<p>Here is an example:</p>

<pre><code>$(".object1-22").hover(function(e){
    $(".object2-22").show();
}, function(e) {
    $(".object2-22").hide();
});
</code></pre>

<p>So in my code, I have two objects. When you hover over the 22nd instance of object1, I want it to <em>only</em> display the 22nd instance of object2.</p>

<p>How could I perform this task?</p>
