What is server side Javascript?

Results 1 to 3 of 3

Thread: What is server side Javascript?

  1. #1
    Join Date
    Dec 1969

    Default What is server side Javascript?

    What is server side Javascript? I know how Javascript running at client side such as<BR><BR>&#060;SCRIPT LANGUAGE=javascript&#062;<BR>&#060;!--<BR><BR> function DisplayMessage()<BR> {<BR> alert("Your User ID is invalid.");<BR> }<BR><BR>//--&#062;<BR>&#060;/SCRIPT&#062;<BR><BR><BR>How to do run Javascript on server side?<BR>like &#060;SCRIPT LANGUAGE=javascript run at server&#062;??????<BR><BR>Can someone provide a very short example?<BR><BR>Thanks in advance!<BR><BR>Judy<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default LOL you've almost got it perfect!

    &#060;SCRIPT LANGUAGE=javascript RUNAT=Server&#062;<BR><BR>&#060;/SCRIPT&#062;<BR><BR>Personally, I prefer VBScript for my server-side (ASP) scripting but it all depends on your programming background.

  3. #3
    SkyRider Guest

    Default RE: What is server side Javascript?

    A server-side script means before the client browser starts a session with one ASP page written in JScript/VBScript it will be firstly interpreted into HTML format files by the web server and then it will be downloaded to the client side as a very normal HTML page(It may still include one client-side script). So the big difference between server-side and client site script is whether it&#039s interpreted at server side or at clent side. So it&#039s easy to understand.<BR>BTW, the server-side script could be very flexible in functionality while the client-side script is very limited in its performance.<BR><BR>I like writing my server-side script purely in JScript. :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts