How to get all the id's who poked using javascript
<p>Using firebug, i get the <code>html</code> as following-</p>

<pre><code>&lt;a rel="async-post" ajaxify="/ajax/pokes/poke_inline.php?uid=xxxxxxxxxxxxxxx&amp;amp;pokeback=1" href="#" class="uiIconText"&gt;&lt;i style="top: 0px;" class="img sp_1lbo22 sx_3b5b96"&gt;&lt;/i&gt;Poke Back&lt;/a&gt;
</code></pre>

<p>To get the uid, I am using <code>getElementsByTagName('a')</code> function then finding <code>ajaxify</code> property. Below is my code-</p>

<pre><code>var elements = document.getElementsByTagName('a');

for (var i = 0; i &lt; elements.length; i++) {
   var ajaxify = elements[i].ajaxify;
   if (!ajaxify) {
      continue;
   }
   var uid = ajaxify.match(/uid=([0-9]*)/)[1];
   alert(uid);
}
</code></pre>

<p>After running  my code in firebug, i am getting <code>undefined</code> in console as below.</p>

<pre><code>&gt;&gt;&gt; var elements = document.getElementsByTagName('a'...ify.match(/uid=([0-9]*)/)[1];     alert(uid);  }

undefined
</code></pre>

<p>How can i get all the id's who poked using javascript?</p>
