
questions on passing parameter from server script to client script
one more piece of information,
I have tried other parameters which are extracted from the same record
array.
the other parameters are text type(max 255 char) and date type.
The mesgString is memo type which is 65535 characters max.
Any problem with this?
Thanx in advance.
Quote:
> The following is part of my code:
> <script LANGUAGE="VBScript">
> Sub showHead(str)
> document.writeln(str)
> End Sub
> </script>
> <%mesgString = "Message: " & recordAry(mesgPos,counter)%>
> <p align="left"><script>call showHead("<%=mesgString%>")</script></p>
> It shows nothing on html.
> If i use <%Response.Write(mesgString)%>, it will show the whole
mesgString.
> This prove the string is not null or abnormal.
> Or
> If i use <%mesgString = "abcd" & "<BR>" & "efgh"%>, it will work normally
> too. This prove the showHead subroutine works too.
> Then what is the problem?
> Thanx very much