confirm method in javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jenet

    confirm method in javascript

    Is there a way to set the default option to 'Cancel' rather than 'Ok' in
    Javascript confirm method?

    cmdDelete.Attri butes.Add("onCl ick", "javascript:ret urn confirm('Are You Sure
    You Wish To Delete This Item ?');")

    Thanks.


  • S. Justin Gengo

    #2
    Re: confirm method in javascript

    I don't think there is. :(

    --
    S. Justin Gengo
    Web Developer / Programmer

    Free Code Library At:


    "Out of chaos comes order."
    Nietzche


    "Jenet" <Jenet@yahoo.co m> wrote in message
    news:eGjYzw6SDH A.2188@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Is there a way to set the default option to 'Cancel' rather than 'Ok' in
    > Javascript confirm method?
    >
    > cmdDelete.Attri butes.Add("onCl ick", "javascript:ret urn confirm('Are You[/color]
    Sure[color=blue]
    > You Wish To Delete This Item ?');")
    >
    > Thanks.
    >
    >[/color]


    Comment

    • Kevin Spencer

      #3
      Re: confirm method in javascript

      No.

      --
      HTH,

      Kevin Spencer
      Microsoft MVP
      ..Net Developer
      All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

      Big things are made up of
      lots of little things.

      "Jenet" <Jenet@yahoo.co m> wrote in message
      news:eGjYzw6SDH A.2188@TK2MSFTN GP10.phx.gbl...[color=blue]
      > Is there a way to set the default option to 'Cancel' rather than 'Ok' in
      > Javascript confirm method?
      >
      > cmdDelete.Attri butes.Add("onCl ick", "javascript:ret urn confirm('Are You[/color]
      Sure[color=blue]
      > You Wish To Delete This Item ?');")
      >
      > Thanks.
      >
      >[/color]


      Comment

      Working...