PDA

Click to See Complete Forum and Search --> : Will this script work?, if not why?


Nov 24th, 2000, 10:27 AM
This is my first VBScript, please help me.

<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

da_silvy
Nov 24th, 2000, 08:27 PM
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?