Writes a string to the output.Syntax:
Response.Write(variable)
Parameters:
variable - Write first converts it to string and then sends it to the
output.
ALP uses current user locale and code page settings for conversion.
Examples:
JScript:
<% Response.Write("Some output. This is <B>bold</B>") %>
VBScript:
<% Response.Write "Some output. This is <B>bold</B>" %>
Remarks:
Alternative to the Response.Write method is <%= %> syntax. The content of the tag
is placed directly into the Write method thus syntax rules for the contents of the <%=
%> tags is the same as the syntax for the variable parameter of the Write
method. It is recommended to use <%= %> tags on one single line even if the script
language used allows multiline syntax.
Applies to: Response object
|