Hi all,

I'm using Impromptu to provide a simple confirm before submitting
a form from within a greybox. Everything works great, but whenever
the form is submitted (im not using ajax, ajah). Its like some lost
process starts running in the parent window that spawned
the greybox. Once I click any link it goes away, but it shouldnt be
doing this.

I am still on jquery 1.1.4 (yes I plan to update).

Any ideas?

simple submit
$.prompt('Submit report',{ buttons: { Submit: 'yes', Cancel: 'no' },
callback: Submitform })

function Submitform()
  {
    var Choice = v;
    if (Choice == "no") {
      alert("The form was not submitted.");
    }
    else {
      $("#ship_discr").get(0).submit();
    }
  }

Reply via email to