You'll want to unbind the click event for the link, this should work $(#factsheets td a').unbind('click');
Since the link is inside the cell, a click on the link should still trigger the link. Let me know how it goes (I don't get to answer questions very often ) On Jan 13, 1:22 pm, Collectonian <collecton...@gmail.com> wrote: > I have a bit of code on one page to make an entire table cell a > clickable area to open a PDF in a new window. It works perfectly, > unless you click the actual physical link. If someone clicks the link, > it opens the link twice in two new windows. Inside the usual document > ready, I have: > > $('#factsheets td').click(function() { > $(this).find('a').each(function(){ > window.open(this.href); > return false; > }); > > }); > > And a snippet of code from the document: > > <table id="factsheets"> > <tr> > <td rowspan="3" id="factsheetpreview"><img src="/includes/images/ > placeholder_preview.gif" width="306" height="396" /></td> > <td class="listcell"><a href="/index.cfm/event/getFactSheet/ > whichfactsheet/41/" rel="/dropinn/thumbnails/factsheet_41.jpg">SRAC > 0230<br />Alligator Production: An Introduction</a></td> > </tr> > </table> > > How can I fix it so that clicking on the link is considered just a > single click instead of two, so that only one window opens? > > ~~ Summer