Reputation: 417
To be able to jump to a certain table row, I add an attribute before each table row. however, I cannot jump to the table row, when adding a
http://server/test.php#row-92
to my url. The table row is built like that
<a name="row-92"></a><tr onclick="document.location ..... </tr>
Upvotes: 0
Views: 1043
Reputation: 34002
You should use the id-attribute. Starting with HTML5 the a-name tag is deprecated.
<tr id="row-97" onclick="document.location ..... </tr>
Upvotes: 1