Frank, are you using http://trentrichardson.com/Impromptu/?
Or are using using the basic prompt command? If you are using the plugin, you need to set up a call back that will handle you true, false. If you are using the prompt command, I would suggest you use the confirm instead (http://www.tizag.com/javascriptT/javascriptconfirm.php) On 10/1/07, FrankTudor <[EMAIL PROTECTED]> wrote: > > > 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 > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com