how to Fetch the index of table row using jquery

JavaScript
BY LOVE
$("tr").index(this);
Source

Also in JavaScript: