warning message (alert)

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default warning message (alert)

    Hi, I want to create the alert message ' You are about to over writte the
    acct, do you wish to continue?'). I need two buttons here, YES/ NO. If user
    click YES, then report will be generate, if user click NO, I want the dialog
    box open for them to able to select the file and save it. s there away to do
    it?, if so please give me some advise or example Thanks

    kt03 Guest

  2. Similar Questions and Discussions

    1. How to redirect after (header) after sending an alert message
      Hi, I have a php script that checks whether the user is allowed to perform an action. If he is not allowed; I display a warning; using the alert...
    2. How To Supress Acrobat Error Message And Alert Message
      Is there any way to supress those pop up message? If can't, is there any way to catch it?
    3. Javascript alert message problem
      Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro,...
    4. Regarding to alert message
      Hi If our text contains only characters but wrongly we add the number so alert message will come. In that we want only to remove the number not...
    5. alert or message box?
      I am not clear ... whether to use alert of JavaScript or messagebox of VBScript in ASP. But what I want is that when a user has some error I want...
  3. #2

    Default Re: warning message (alert)

    This is a JavaScript question, not ColdFusion, but here is the answer.
    JavaScript alert() function only allows an OK button. You will want to use a
    JavaScript confirm() function. var msg = 'Blah blah blah... click Yes to
    continue or NO to return'; if (confirm(msg)) {
    self.location.href='yeslocation.cfm'; } else {
    self.location.href='nolocation.cfm'; } Hope that helps!

    sdwebguy99 Guest

  4. #3

    Default Re: warning message (alert)

    Thanks, I already figured out!!!
    kt03 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139