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

2007-10-09 Thread trent
It looks like the syntax you are using is from jQuery's Impromptu plugin ( http://trentrichardson.com/Impromptu/ ), if this is what you're using then you need $. infront of the prompt like so: $.prompt(Are you sure you want to delete?, { buttons: {Ok:true,Cancel:false } }); otherwise just

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

2007-10-01 Thread Benjamin Sterling
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

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

2007-10-01 Thread Frank Tudor
I got it figured out...thanks for the reply On 10/1/07, Benjamin Sterling [EMAIL PROTECTED] wrote: 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,