Html Embedded Scripts mode

x
 
1
<%
2
function hello(who) {
3
    return "Hello " + who;
4
}
5
%>
6
This is an example of EJS (embedded javascript)
7
<p>The program says <%= hello("world") %>.</p>
8
<script>
9
    alert("And here is some normal JS code"); // also colored
10
</script>
11

Mode for html embedded scripts like JSP and ASP.NET. Depends on multiplex and HtmlMixed which in turn depends on JavaScript, CSS and XML.
Other dependencies include those of the scripting language chosen.

MIME types defined: application/x-aspx (ASP.NET), application/x-ejs (Embedded Javascript), application/x-jsp (JavaServer Pages) and application/x-erb