title: c#.net Webbrowser control Anchor Tag Invoke Click event not work for alternate rows
body: <p>I am using c#.net and webbrowsercontrol.
  I am invoking click event of anchor tag.</p>
  
  <p>Application has following code:</p>
  
  <pre><code>HtmlElementCollection anchors = browser.Document.GetElementsByTagName("a");
  foreach (HtmlElement anc in anchors)
     { 
     if(anc.GetAttribute("href").ToLower().Contains("javascript:PFA".ToLower())
        {
         anc.InvokeMember("click");
        }
     }
  </code></pre>
  
  <p>It works for one row and not for the other row.<br>
  Source Website has following :</p>
  
  <p></p>
  
  <pre><code>                            &lt;td colspan="1" id="tdborder" align="left" width="5%"&gt;
                              &lt;input  name="appsWithStatusChg" type="checkbox"   id="appsWithStatusChg1" alt='checkBoxLabel1'
                              label='checkBoxLabel1' 
                              value="12114831" &gt;
                              &lt;/td&gt;                       
  
  
                              &lt;td width="10%"&gt;
  
                              &lt;a class="PairLink" tabindex="17" href="javascript:postForApplicationData('12114831')"&gt;
                              12/114,831
  
  
  
                              &lt;/td&gt;
                              &lt;td width="10%"&gt; -&lt;/td&gt;
                              &lt;td width="14%"&gt; US 2008-0209452 A1&lt;/td&gt;
                              &lt;td width="14%"&gt; 1133-112US02&lt;/td&gt;
                              &lt;td width="11%"&gt; 98449&lt;/td&gt;
                              &lt;td width="9%"&gt; 12-24-2011&lt;/td&gt;
                              &lt;td width="17%"&gt; 05-05-2008&lt;/td&gt;
                              &lt;td width="8%"&gt;
  
  
  
  
                              &lt;!--&lt;input type="button" name="submitForIFW" value="Review" id="submitForIFW" onClick="postForIFWData('12114831')" tabindex="9" &gt;
                              --&gt;
                              &lt;a href="javascript:postForIFWData('12114831')" tabindex="9"&gt; View&lt;/a&gt;
  
  
  
  
                              &lt;/td&gt;
                          &lt;/tr&gt;
  </code></pre>
  
  <p>Problem is that when we try to invoke click event 
  for anchor tag whose tr is wpsTableShdRow is not working. 
  anchor tag whose tr is wpsTableNrmRow is working.</p>
  
  <p>when we try to access click event manually it works.</p>