Not sure I follow a 100% percent, but I'll make the assumption that you are wanting to execute the onclick event in these various rows when you click some other element on the page. With that said, maybe you should try:
$('selector for element that gets clicked').click( function() { $('#Results table [EMAIL PROTECTED]').trigger('click'); }); By the way, I believe the [EMAIL PROTECTED] XPath expression has been deprecated in 1.1.4 and 1.2. So you may want to update that to $('#Result table tr[onclick]')... Seems like the .click() you were using should work (at least conceptually to me). So maybe it is a bug since it works in IE and not FF (seems backwards, eh?). Cheers! Jacob Stuart Fellow Web Developer On Sep 10, 4:54 pm, George Blouin <[EMAIL PROTECTED]> wrote: > I have rows of data that look like this > > <tr class="MainRow" > onmouseover="this.className = 'Highlight';" > onmouseout="this.className = 'MainRow';" > onclick="addUnit(3);"> > <td align="left">Battle Cobra C</td> > <td align="left">1319 (0)</td> > <td align="center"></td> > <td align="center">40</td> > <td align="center">5006750</td> > <td align="center">Clan/Level 2</td> > <td align="center">Upgrades</td> > <td align="center">Present</td> > <td align="center">Blood Spirit</td> > </tr> > > I wrote a little method to add each row's data to a seperate div using > the .click() method that looks like this > > $("#Results table [EMAIL PROTECTED]").click(); > > This works great in IE6 but not in Firefox. To get around the issue > I've done this > > if ($.browser.mozilla) { > $("#Results table tr").each(function(){ > eval($(this).attr("onclick")); > }); > } else { > $("#Results table [EMAIL PROTECTED]").click(); > } > return false; > > I have *got* to be missing something. Does the .click event only > apply to buttons and url's and what not? Or am I just missing > something? > > Thanks!GeorgeBlouin > Web Developer