|
-
Jul 17th, 2000, 11:58 AM
#1
Thread Starter
Addicted Member
Howdy!
I am trying to figure out DHTML. I get an error when I use this code: WHY?
Private Function Store_onclick() As Boolean
PutProperty BaseWindow.Document, "Property1",TxtField1.Value
End Function
The .Bas file is fine
Public Sub PutProperty(objDocument As HTMLDocument, strName As String, vntValue As Variant, Optional Expires As Date)
objDocument.cookie = strName & "=" & CStr(vntValue) & _
IIf(CLng(Expires) = 0, "", "; expires=" & Format(CStr(Expires), "ddd, dd-mmm-yy hh:mm:ss") & " GMT") ' & _
End Sub
Thanx
-
Jul 18th, 2000, 11:49 PM
#2
Fanatic Member
try this
Code:
<!-- vbscript code -->
window.document.all.Property1=txtField1.Value
DocZaf
{;->
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|