[jQuery] need a simple jquery alert or prompt example with ok or cancel choices

[jQuery] need a simple jquery alert or prompt example with ok or cancel choices


I have a jquery script that gives the user a prompt and a choice to
make sure they want to delete a value from a datasource.
Here is my code...
It prompts funny...and it goes ahead and processes anyways even if you
select cancel..
Can someone fix me up here?
<script type="text/javascript">
    $(document).ready(function()
        {
        $("a").click(function()
            {
            prompt("Are you sure you want to delete?",{buttons:
{Ok:true,Cancel:false}});
            }
        );
        }
    );
</script>
Thanks,
Frank