top | item 2995952

(no title)

jeffesp | 14 years ago

The key thing that it looks like he is doing is using heredocs and string interpolation to change the way the HTML for the template is written. This is cool, but in my opinion the wrong place for HTML. I think the support of script tags with type=text/x-jquery-tmpl and an id are a better option than HTML in a string variable (http://api.jquery.com/template). At least then I feel like I am writing HTML in the right spot.

discuss

order

No comments yet.