Forum Moderators: open

Message Too Old, No Replies

response.write equivalent in Jscript

         

crow976

6:11 pm on Aug 1, 2003 (gmt 0)

10+ Year Member



How do you output text/html using Jscript just like you would do in VBscript with the response.write method...? There is no document object like client-side javascript... and the response object doesn't seem to exist...

WebDawg

4:20 am on Aug 2, 2003 (gmt 0)

10+ Year Member



Don't forget, Javascript is case-sensitive.
This will work:

<%@ language="javascript"%>
<%
Response.Write("Hello world");
%>

Pace, dawg!

gangstah

2:04 pm on Aug 4, 2003 (gmt 0)

10+ Year Member



Hi,

Is document.write() what you are looking for?