dch31969
12-06-2007, 05:22 PM
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?
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?