File: demos/demo_json_init_with_mustache/arrayvalues2.tpl

Recommend this page to a friend!
  Classes of Emmanuel Podvin  >  Blapy  >  demos/demo_json_init_with_mustache/arrayvalues2.tpl  >  Download  
File: demos/demo_json_init_with_mustache/arrayvalues2.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: change idx to blapyIndex
add automatically property "idx" for each item in json data that is an array
Date: 2 years ago
Size: 534 bytes


Class file image Download
<xmp style="display:none" data-blapy-container-tpl="true" data-blapy-container-tpl-id="firstTPL">
  <tr><td>{{blapyIndex}} - First name: {{firstname}}</td><td>Last name: {{lastname}}</td></tr>
<xmp style="display:none" data-blapy-container-tpl="true" data-blapy-container-tpl-id="2ndTPL">
  <tr><td>Your name is {{firstname}} {{lastname}}</td><td>....</td></tr>
<xmp style="display:none" data-blapy-container-tpl="true" data-blapy-container-tpl-id="3rdTPL">