tao52525 / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

inner Simple Modal Confirm Box #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SimpleModal or SimpleModal Contact Form (SMCF)?

Version of SimpleModal of SMCF (indicate Demo or WordPress plugin)? 1.4.1

Version of jQuery? 1.3.2

i have used the SimpleModal confirm box to override the typical confirm box. 
but in some condation i have to display the confirm box after the outer confirm 
will be select "YES". but it shows only outer confirm box, inner will be 
skiped. i am attaching the sample code. 

looking from the positive response.

Scenario 1:
if(isMismatch)

{     

      confirmAR('Are you sure you want to change the status of selected Record?', function () {

            //do some task

      });                           

}

if(isAmountMisMatch)

{

      confirmAR('Are you sure you want to change the Amount of selected Record?', function () {

            //do some task

      });                     

}

========================

Scenario 2:

if(isMismatch)

{     

      confirmAR('Are you sure you want to change the status of selected Record?', function () {

            confirmAR('Are you sure you want to change the Amount of selected Record?', function () {

            //do some task

      }); 
      });                           

}

Original issue reported on code.google.com by anjulty...@gmail.com on 16 Mar 2011 at 2:37