• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1018
  • Last Modified:

How do I write in server side javascript?

How do I write in server side javascript?

<script language="javascript" runat="server">
function refreshPage(inpRedirectURL){       
      write("hello");
}
</Script>

works for this:
<server>write("hello");</server>
0
swansonplace
Asked:
swansonplace
  • 2
2 Solutions
 
b0lsc0ttCommented:
swansonplace,

If the ASP engine is used to process Javascript (it can with some extra install) then your server script would look like ...

<%@ Language="Javascript" %>

<%
Document.Write("Hello");
%>

It really could matter what you are using to process the server side Javascript.

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
swansonplaceAuthor Commented:
Thank you.
0
 
b0lsc0ttCommented:
Your welcome!  I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now