I have a javascript function that I need to call on click of the delete button -
JavaScript:
function test(var1) { alert(var1); }
onclick='test("<%=logs[i].getItemName();%>");'