If I had the following code and the user was to click the delete button, using jQuery, how would I get the name of the group about it (Test Group in the example below)? And in case any one wonders, it’s because I want to display a confirmation box with the name of the group that is about to be delete in it.
<td class='title column-title'>Test Group
<div class="row-actions">
<span class='delete'>
<a id="single-delete" href="?page=permissions-options-eidtor&action=delete&action_role=test_group&role=&paged=2&message=3">Delete</a>
</span>
</div>
</td>
1 Answer