Results 1 to 2 of 2

Thread: Will this script work?, if not why?

  1. #1
    Guest

    Question

    This is my first VBScript, please help me.

    Code:
    <HTML>
    <BODY>
    
    <script language="VBScript">
    call GetVal
    
    Sub GetVal
    	open "Contador.shtml" for input as #1
    		input #1, valor
    		document.form1.t1.value=valor
    	close #1
    	document.form1.t1.value=document.form1.t1.value+1
    end sub
    </script>
    <form>
    <input type="text" size=10>
    </form>
    </BODY>
    </HTML>
    numibesi

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    no, i couldn't get it to work
    i don't think you can retrieve values through input on a website...

    you might have to use a database...

    what value are u trying to get from the page?


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