Back-quote (`) (External code call)

Call some external code during server side execution.

The back-quote substitutions operate much like you may have seen them work in command-line shells and Perl interpreters. The text enclosed inside the back-quotes is parsed out from the HTML and is then executed as JavaScript.

ASP provides a means of substituting the output of JavaScript code into a block enclosed in <% ... %> markers which does a similar thing.

This allows us to include fragments of JavaScript into an HTML page and expect them to be parsed server-side.

This is somewhat analogous to JavaScript entities but they operate at the client-side.

The server-side example wraps its result inside quote symbols so that the HTML tag attribute syntax is preserved intact.

Example code:

   <INPUT TYPE="text" VALUE=`server.hostname;`>

See also:JavaScript entity, Netscape Enterprise Server