Adding similar jQuery behavior to a range of elements
<p>I have added the following behavior to a range of divs.</p>

<pre><code>$("div#_FIRST_Menu").click(function () {
  ...
  $("div#_FIRST_Content").toggleClass("property1 property2");
});

$("div#_SECOND_Menu").click(function () {
  ...
  $("div#_SECOND_Content").toggleClass("property1 property2");
});
</code></pre>

<p>Now that the solution works as supposed to i can unleash my passion for code hygiene. The immediate question, the answer to which i can't really see is how to go about {see title here}. I'd like to perform something along the lines of this.</p>

<pre><code>$("div#_" + MAGIC_MARKER + "_Menu").click(function () {
  ...
  $("div#" + MAGIC_MARKER+ "Content").toggleClass("property1 property2");
});
</code></pre>

<p>That way i would be able to neatly compact the code, still keeping it readable. Suggestions?</p>
