docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualScript
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



CGI
Pike
Perl
Java
Javascript

Javascript

Javascript is a client-side language (whose real name, by the way, is nowadays ECMA script), and should not be confused with Java. You can write Javascript inside your RXML pages, and Roxen will handle it like other web servers: i.e. ignore it, and passing it on as ordinary text to the browser. In other words, it has essentially nothing with the web server to do, and is exclusively a matter between the page author and the page visitor's browser.

Keep in mind, however, that it will pass through an XML parsing stage just as any other text in an RXML page, so symbols that have special meaning in XML, such as < and & may have to be quoted to reach the browser unscathed.

Consult a book on Javascript/ECMA-script for more information about how to use that language, e.g "JavaScript, The Definitive Guide, 4 th ed." by David Flanagan (2001).