jquery-rowclick

1.0.2 • Public • Published

rowClick

Description

Expands the clickable area to an entire table row if that row contains a link.

Open example.html for example usage.

Required HTML

<table>
  <tr>
    <td>Test Cell 1</td>
    <td><a href="somewhere.html">Test Cell 2</a></td>
    <td>Test Cell 3</td>
  </tr>
</table>

Required JavaScript

$('table').rowClick();

Links

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i jquery-rowclick

      Weekly Downloads

      1

      Version

      1.0.2

      License

      MIT

      Last publish

      Collaborators

      • travishorn