Please avoid replying to a message changing the subject, it messes up
the group page.

$('tr').each(function(){
   var link = $(this).find('a[href]')[0].href;
   $(this).click(function(){
       window.location = link;
   });
});

On Jan 29, 9:10 am, "DCT, Heidi Anselstetter"
<heidi.anselstet...@consultingteam.de> wrote:
> Hi,
>
> I have this html code:
>
> <tr style="background-color: {if $simular}#f6d2d2{else}{$background}{/if}">
> <th scope="row"><input type="checkbox" name="paradigm" 
> value="{$value.ver_id}"></th>
> <td>
> <a href="/product.php?ver_id={$value.ver_id}">
> <img src="/img/uploads/{$value.ver_daten.ver_bildname}" id="hidden" 
> border="0" width="{$value.img_display_width}" />
> </a>
> </td>
> <td valign="top">{$value.ver_daten.her_firma}</td>
> <td valign="top">{$value.ver_name|highlightsearch}</td>
> <td align="center" valign="top">{$value.ver_laenge|ifempty:"-"}</td>
> <td align="center" valign="top">{$value.ver_breite|ifempty:"-"}</td>
> <td align="center" valign="top">{$value.ver_hoehe|ifempty:"-"}</td>
> <td align="center" valign="top">{$value.ver_durchmesser|ifempty:"-"}</td>
> <td align="center" valign="top">{$value.ver_inhalt|ifempty:"-"}</td>
> </tr>
>
> I do want to know what I can do to link the tr line to the following url: 
> ="/product.php?ver_id={$value.ver_id}
> Any ideas?
>
> Thanks!
> Heidi

Reply via email to