title: Call a php file, with buttons, multiple times in a html file
body: <p>I load a php file with buttons via a div using Ajax / JQuery.</p>
  <pre><code>&lt;div id=&quot;cal&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>That php file includes other php files.</p>
  <p>I would like to load it multiple times in the same webpage.  The instances should work independant of each other.
  My problem is that each instance will have the same buttons with the same id and clicking one button will action all instances.</p>
  <p>I do not want to use iframes and I do not want to replicate the php files multiple times with unique id's on buttons.</p>
  <p>I can not reproduce but here is some code in the php file for displaying a previous and next button. This action would then call some JavaScript and php files and display a calendar.</p>
  <pre><code>    &lt;div id=&quot;the_months&quot;&gt;
          &lt;?php echo $calendar_months; ?&gt;
      &lt;/div&gt;
          &lt;div id=&quot;cal_prev&quot; title=&quot;&lt;?php echo $lang[&quot;prev_X_months&quot;]; ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo AC_DIR_IMAGES; ?&gt;prev.gif&quot;   alt=&quot;prev&quot; class=&quot;cal_button&quot;&gt;&lt;/div&gt;
          &lt;div id=&quot;cal_next&quot; title=&quot;&lt;?php echo $lang[&quot;next_X_months&quot;]; ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo AC_DIR_IMAGES; ?&gt;next.gif&quot;   alt=&quot;next&quot; class=&quot;cal_button&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;      
  </code></pre>
  <p>Can this be done?</p>
  <p>Thanks in advance</p>