title: How to generate several DIV blocks in array like manner?
body: <p>How can I use JavaScript to generate multiple DIV blocks with IDs in them, where IDs are given, say by another variable, and are not sequential.  For example:</p>
  
  <pre><code>&lt;div id="x_y_curve_123" class="graph"&gt;&lt;/div&gt;
  &lt;div id="x_y_curve_256" class="graph"&gt;&lt;/div&gt;
  ...
  &lt;div id="x_y_curve_354" class="graph"&gt;&lt;/div&gt;
  </code></pre>