AJAX Pages: Embedded Javascript

This has the potential to be very popular: a project called Ajax pages has just been released, with the intent to allow people to embed Javascript code in HTML like we do with PHP, ASP, and JSP. It’s not server-side, though, from what I can tell. It’s simply a way to manipulate things client-side in […]

This has the potential to be very popular: a project called Ajax pages has just been released, with the intent to allow people to embed Javascript code in HTML like we do with PHP, ASP, and JSP.

It’s not server-side, though, from what I can tell. It’s simply a way to manipulate things client-side in a familiar way.

Here’s an example:

<html>
<body>
<% var hello = "Hello World"; %>
<%=hello%>
</body>
</html>

Check out the tutorial to see how it works.

Published: September 15th, 2005

The What to Wear Daily Report. A simple daily email with clothing recommendations and other info based on the weather. Remarkably useful. It's free to sign up.