Skip to main content
Participant
July 22, 2010
Question

Delete Popup

  • July 22, 2010
  • 1 reply
  • 390 views

Is it possible to give fuseaction in javascript like this...

function confirmDelete()
{ var msg = "Are you sure you want to delete?";
    if ( confirm(msg) )
        { window.location="#mySelf#"}
       
        else
  {
  alert("You pressed Cancel!");}

}

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    July 22, 2010

    Did you mean to ask this in a ColdFusion forum?

    Are you talking about a Fusebox fuseaction?

    What are you actually trying to acomplish here?

    You do realize that CFML runs on a server and JavaScript runs on a client which are two completely differnt computers with two completely different ram memories contain two completely different sets of variables and that the code executes at two completely different times?

    In otherwords never will the twain CFML and JavaScript meet.

    Participant
    July 22, 2010

    I am trying to know is it possible or not?

    { window.location="fuse action"}

    ilssac
    Inspiring
    July 22, 2010

    Ok, but your syntax makes no sense and you are neither showing enough code nor describing your problem, process or requirements.

    So we are unlikely to be able to give a meaning full answer with so little information.

    But if you want a wild eyed guess.

    I would say: NO.