title: Need to apply jquery different functions to each DOM element
body: <p>I have jquery code:</p>
  
  <pre><code>$(".gametime").append(moment.tz('16/3/0:45', 'DD/MMMM/HH/mm', 'Europe/Moscow').tz(user_tz).format('DD MMMM HH:mm'));
  $(".gametime2").append(moment.tz('16/3/0:45', 'DD/MMMM/HH/mm', 'Europe/Moscow').tz(user_tz).format('DD MMMM HH:mm'));
  </code></pre>
  
  <p>and 2 tag p with class gametime</p>
  
  <pre><code>&lt;p class="gametime1"&gt;&lt;/p&gt;
  
  &lt;p class="gametime2"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Need to create element (gametime), and when i create that, it will have number (1 or 2 or 3...), and also need to apply different codes to created element. Like automized. I want to integrate all of that with MODX so... Who can help?)</p>