$ 0 0 Take a look at this thread. It deals with EJS, but you can accomplish the same thing with live binding in Mustache or using Mustache helpers.