onclick = return confirm () not working in me : hy Im new in php,please help me, 

<td><a onclick='return confirm('Are you sure?')  href='Delete_Vendor.php?ID=$row[ID]' ;> Delete </a> </td>

this code working in me but the alert of " Are you sure? " are not showing up. can someone help me? thanks alot 

regards 