title: remove last character in id attribute
body: <p>I am trying to remove the last character from a div id using jQuery.  Currently I have:</p>
  
  <pre><code>    &lt;div id="foo/"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But I need:</p>
  
  <pre><code>    &lt;div id="foo"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The character is always a <code>/</code> and is generated automatically (re:annoyingly) by the CMS I am using.  Having the <code>/</code> there is messing up some JavaScript linking I am trying to do.</p>
  
  <p>How do I correct this issue?</p>