I have one form and on the submit event I would like to add a hidden field and use it in the next page with the new value I assign to the value used in the input field.
The problem is that even though I assign the value, it is not contained in the form after the submit.
Any idea ?
page1.asp...
I found it, I just use the action property of the form element.
<form name="a" onSubmit="bla()">
<input type="submit" "value="submit">
</form>
<script language="VBscript">
Function bla()
msgbox("hello")...
I tried that but
now the strangest thing happens, nothing...
It executes the command, and I see in the status bar that the it is trying to open the page, but nothing happens.
any idea ?
<form name="a" onSubmit="bla()">
<input type="submit"...
I have a function and after it is done it needs to direct to test.asp, I tried to use response.redirect, but the problem is that when you load the page, it right away redirects eventhough i put the statement within the function.
Thanx
<form name="a" onSubmit="bla()">...
I am creating a textfile and I'd like to overwrite it with a new one, what happens though, it modifies it and adds the content, I use this:
set f=fsoObject.CreateTextFile(tekstfile,true)
I set the overwrite on true, so I don't get it.
Appreciate your help.
I'd like to know if it possible to test a text file for empty. I use this:
set I'd like to know if it possible to test a text file for empty. I use this:
set textcontent = fsoObject.OpenTextFile(textfile , 1)
strBuffer = textcontent.ReadAll
which works fine if the textfile contains...
I'd like to know if it possible to test a text file for empty. I use this:
set inlees = fsoObject.OpenTextFile(textfile , 1)
strBuffer = textfile .ReadAll
which works fine if the textfile contains characters, but when the file is empty I get
Microsoft VBScript
runtime (0x800A003E)
Input...
In UNIX to obtain a timestamp from a date is pretty easy, I wonder if there is a script in vbscript to do the same. I would like to have "1/17/2004 6:01:48 PM" as an input parameter and as output the unique timestamp.
Thank you,
Robert
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.