How do I write in server side javascript?

Posted on 2007-10-12
Last Modified: 2012-05-05
How do I write in server side javascript?

<script language="javascript" runat="server">
function refreshPage(inpRedirectURL){       

works for this:
Question by:swansonplace
    LVL 20

    Assisted Solution

    LVL 54

    Accepted Solution


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

    <%@ Language="Javascript" %>


    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.


    Author Comment

    Thank you.
    LVL 54

    Expert Comment

    Your welcome!  I'm glad I could help.  Thanks for the grade, the points and the fun question.


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now