Results 1 to 3 of 3

Thread: I can´t get it

  1. #1
    Guest

    Angry

    Hi

    I have this webpage and i want to send the value cool:
    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title></title>
    </head>
    
    <body>
    
    <form action="b.html" method="Get" name="Form1"
    onsubmit="Verificar();">
        <input type="text" size="20" name="T1"> <script
        language="VBScript"><!--
    Sub Verificar()
    	document.form1.T1.Value="Cool"
    end sub
    --></script><input type="submit" name="B1"
        value="Submeter">
    </form>
    </body>
    </html>
    And now i have this code on other webpage(b.html), i want to get the cool value on b.html :

    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title></title>
    </head>
    
    <body>
    
    <form method="Get" name="Form1">
        <p><input type="text" size="20" name="T1"> <script
        language="VBScript"><!--
    function get_ext_var() 
    dim str, strAR 
    	str = window.location 
    	strAR = split(str, "?", -1 ,1 ) 
    	if ubound(strAR) = 0 then 
    		get_ext_var = "" 
    	else 
    		str = strAR(1) 
    		document.form1.write str 
    	end if
    end function
    --></script> </p>
    </form>
    </body>
    </html>
    But i don´t get anithing what do i have to do, please respond soon.

    numibesi


  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Code:
    WebBrowser1.Navigate "http://www.yoursite.com/b.html"
    'Get the "cool" word
    Text1.Text = WebBrowser1.Document.Forms(0).T1.Value
    'Send the cool word.
    WebBrowser1.Navigate "http://www.yoursite.com/a.html"
    WebBrowser1.Document.Forms(0).T1.Value = Text1.Text
    I haven't tested it but it should work.
    Gl,
    D!m
    Dim

  3. #3
    Guest

    Angry I´m using html

    I´m sorry but i´m writhing a web page in HTML, i´m not making an VB app, so that´s why i need help, because i just don´t understand a bit of HTML.

    numibesi

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