简体   繁体   中英

How to make clickable entire row?

I have this link to update a field on a table row

echo "<td data-target='precio' style='padding:0px 0px 0px 15px'>" . $row->precio . "<a href='#' data-role='update' data-id=" . $row->producto . "></a></td>";}

How can I make the entire row clickable?

Thanks in advance

在锚点内移动$ row-> precio

echo "<td data-target='precio' style='padding:0px 0px 0px 15px'><a href='#' data-role='update' data-id='" . $row->producto . "'>" . $row->precio . "</a></td>";

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM