Results 1 to 3 of 3

Thread: I realy need help on this one

  1. #1
    Guest

    Angry

    <html>

    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title>Página normal. sem título</title>
    </head>

    <body bgcolor="#FFFFFF">

    <form action="Call%20Calculo" method="POST">
    <p><input type="text" size="20" name="Text1"> <input
    type="text" size="20" name="Text2"> <input type="submit"
    name="B1" value="Ok"> <script language="VBScript">
    <!--
    Sub Calculo()
    Document.write "Merda"
    end sub
    -->
    </p>
    </script> </p>
    </form>
    </body>
    </html>

    I want to call de sub Calculo() when the Button1 is pressed,
    what is wrong please help me.

  2. #2
    Member Cahlel's Avatar
    Join Date
    Aug 2000
    Location
    Earth (I think)
    Posts
    63

    well

    Well, I think
    document.write is javascript specific and I'm not sure f you can use it in VB, does that help?
    Wisdom is supreme, therefore get wisdom,
    though it costs all you have, get understanding.
    Proverbs 4:7

  3. #3
    Guest

    No that´s not the problem

    That code document.write works on vbscript too.

Posting Permissions

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



Click Here to Expand Forum to Full Width