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! George Blouin Web Developer