Instead of '#table_url' use '{$item.ID}' as a paramenter for your function

and in the function body, get href by li data-table-id like:

Code:
Only registered members can view the code.