I know that it prints the value of the JSON st...">

What is <% = ...%>

For instance:

 <input id="wineId" name="id" type="text" value="<%= id %>" /> 

I know that it prints the value of the JSON string id attribute (ie {id: 100}). But I do not find the documentation on it, or even my Google-Fu cannot find it. This SO post assumes this is a Microsoft Response.write() method, but I found it in a context that has nothing to do with Microsoft code.

I read about backbone.js in general, this is a four-way reference based on Christophe Coenraets and especially this particular page (line 4) .

I searched for developer.mozilla.org under the html and javascript documents that searched for it. I am blind? Any help is much appreciated!

+4
source share
1 answer

This is the underscore.js template. It is used by the spine. See: http://underscorejs.org/#template

+13
source

All Articles