questions on passing text parameter from server script to client script (some new findings) 
Author Message
 questions on passing text parameter from server script to client script (some new findings)

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 page.
I have tested with unicode and ANSI text as input.
I found that ANSI code can post successfully but unicode cannot.
But <%Response.Write(mesgString)%> can show unicode string successfully.
Is that document.writeln(str) restrict to use unicode?
Any solution on solving this problem?
BTW, I cannot find the reference/website on the document.writeln. Would u
please suggest one?
Thanx



Mon, 10 Feb 2003 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. questions on passing parameter from server script to client script

2. Passing value from Server script to client script.

3. ?Passing arrays from Server script to Client Script

4. Pass client script variable to server script variable

5. ?Passing arrays from Server script to Client Script

6. passing text to SQL server from VB script

7. Help: problem passing variable between client/server scripts

8. Passing values from client vars to Server script

9. Urgent : Passing variables from client script to server side

10. Passing Server Side Arrays to Client Side Scripts

11. Help: problem passing variable between client/server scripts

12. passing value of text box to a server side script

 

 
Powered by phpBB® Forum Software