title: How can I determine with one GetElementByID the unique id of different elements
body: <p>for my different elements i have the same class tag with only different ending.
  My html elements;</p>
  <pre><code>id=&quot;inner-main-container-one&quot;
  id=&quot;inner-main-container-two&quot;
  id=&quot;inner-main-container-three&quot;
  </code></pre>
  <p>My code define in js is:</p>
  <pre><code>var content = document.getElementByID('inner-main-container-one');
  var contentone = document.getElementByID('inner-main-container-two');
  var contenttwo = document.getElementByID('inner-main-container-three');
  </code></pre>
  <p>How can i determine the unique id with one define ? Like this:</p>
  <pre><code>var content = document.getElementByID('inner-main-container-%%');
  </code></pre>