Hi I'm on an onclick event that requires the user to click an 'x' on a node to delete it, I have a confirm to warn them if they want to delete it. however its taking multiple clicks for the window. I have no idea why this is happening, I know the onreadystatechange has 4 levels and that might effect it, how can I make it just do it once?\[code\]var requestone = createRequest();var deletenode = node.id;var vars = "deletenode=" + encodeURIComponent(deletenode);requestone.open("POST", "deletenode.php", true);requestone.setRequestHeader("Content-type", "application/x-www-form-urlencoded");if (confirm('Are you sure you want to delete this species from the Database?')) { requestone.onreadystatechange = function () { handleRequest(requestone); }; requestone.send(vars); fd.fx.animate({ modes: ['node-property:alpha', 'edge-property:alpha' ], duration: 500 });} else { // Do nothing!}\[/code\]