This function works ie it returns the cookie value correctly.
function CookieExist()
dim sValue
msgbox("products")
sValue = Document.All.myScriptlet.GetCookieKey("products")
msgbox(sValue)
end function
BUT, if I remove the first msgbox (obviously I don't...
I can't believe the hassle I'm getting with vbscript. Please would someone tell me what on earth is wrong with the following code as I keep getting the error: line 53 expected end of line.
<HTML>
<HEAD>
<LINK REL="StyleSheet" HREF="index.css" TYPE="text/css"...
I must be a complete thicky. It seems to me that what you can do with javascript, you cannot do with vbscript. And that is simply dynamically modifying (updating) a browser document (or web page) or dynamically creating a browser document. Using document.write in javascript allows you to do both...
Why is it so easy to write to an existing page in javascript (using document.write) but impossible to get right in vbscript?
I'm trying to write to an existing page in vbscript but obviously I'm missing something pretty important.
Using document.write in vbscript does write to the page but it...
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.