Ask a Question related to ASP, Design and Development.

  1. #1

    Default msgbox title

    In my ASP script I call Javascript for a msgbox after the user has
    submitted the form of their resume information. I saw this example as a way
    to get a msgbox onto the client from ASP since server side scripts can't
    send a msgbox to a client.

    <%
    Const DQ = """"
    Response.Write("<script language=VBScript>" & "MsgBox " & DQ & "Your Resume
    Information Has Been Sent to companyname" & DQ & "</script>")
    %>

    But the title of the msgbox has "VBScript". Adding a title to the MsgBox
    command only appends this.

    Am I stuck with this awful text or is there a way to control the complete
    title text?

    Thanks!
    Pete
    Peter Bassett Guest

  2. Similar Questions and Discussions

    1. Fastest way to get a the string between <title> </title>
      Hello, I have in my strHtml a html page. so what is the fastest way (with XML Read?) to get the "myValue" between <title>myValue</title> ...
    2. MsgBox Error
      Hi, everyone I use MsgBox("message") function, but error as follows: It is invalid to show a modal dialog or form when the application is not...
    3. MSGBOX Example
      I am trying to get a message box to work in a web form. The code looks right But when I browse the form I get It is invalid to show a modal...
    4. Grid msgbox?
      I found it. private void grd_DeleteCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) {...
    5. msgbox?
      Try adding this code to your Page_Load event: btnSave.Attributes.Add("OnClick", "return confirm('Are you sure you want do save?');"); Good...
  3. #2

    Default Re: msgbox title

    Although you're response.writing this, it's a client side scripting question
    (vbscript, not javascript).

    But, fwiw

    msgbox "Hi", 1, "Here is the title"

    That will still have VBScript in the title though. FOllow up in vbscript
    group.

    Ray at work


    "Peter Bassett" <pbassett2223@comcast.net> wrote in message
    news:Xns93D575E2DD99Apbassett2223comcastn@204.127. 204.17...
    > In my ASP script I call Javascript for a msgbox after the user has
    > submitted the form of their resume information. I saw this example as a
    way
    > to get a msgbox onto the client from ASP since server side scripts can't
    > send a msgbox to a client.
    >
    > <%
    > Const DQ = """"
    > Response.Write("<script language=VBScript>" & "MsgBox " & DQ & "Your
    Resume
    > Information Has Been Sent to companyname" & DQ & "</script>")
    > %>
    >
    > But the title of the msgbox has "VBScript". Adding a title to the MsgBox
    > command only appends this.
    >
    > Am I stuck with this awful text or is there a way to control the complete
    > title text?
    >
    > Thanks!
    > Pete

    Ray at 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