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

Reply via email to