-
Problems passing variables to sub (VBScript)
strTemp = strTemp & "<li class='outlookFolder' onClick=selectFolder('" & strFolderName & "','" & strFolderPath & "') style='list-style-image:url(" & strListImage & ");')>" & strFolderName & "</li>"
This line of VBScript keeps crapping out with the error message 'Unterminated String Constant'. The problem is the onClick portion...
onClick=selectFolder('" & strFolderName & "','" & strFolderPath & "')
when I change it to onClick=selectFolder('" & "test" & "','" & "test" & "')
the error returned is 'Cannot use a parenthese when calling a sub."
What's going on?
-
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
Bookmarks