title: How to use JavaScript code in Selenium RC
body: <p>I am trying to find out the Total number of flight details been displayed in a particular search. I used Xpath which works, but not fully. Now I wanted to use JavaScript code from the site.</p>
  
  <p>Please see:</p>
  
  <pre><code>a style="color:#FF0099;cursor: pointer;" title="Click here for Flight details"
      onclick="javascript:showDiv(this,'flightdetail28','28','6a7891beb531878bce3246240a2a9e63')
  </code></pre>
  
  <p>Now I just wanted to know how many flights are been displayed, like the above as flightdetail28.</p>
  
  <p>Please suggest: How to use the JavaScript code and implement it in my Selenium RC.</p>