Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.79 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. populate document using javascript pattern
  2. <table id="session">
  3. <thead>
  4.     <tr>
  5.         <div class="borderContainer">
  6.             <div></div>
  7.         </div>
  8.         <script type="template" id="thead">
  9.             <div class="borderContainer">
  10.                 <div></div>
  11.                 <h3>{ColName}</h3>
  12.             </div>
  13.         </script>
  14.     </tr>
  15. </thead>
  16. <tbody>
  17.     <script type="template" id="tbody">
  18.         <tr>
  19.             <td class="row">
  20.                 <div class="borderContainer">
  21.                     <div></div>
  22.                     <h3>Row I</h3>
  23.                 </div>          
  24.             </td>
  25.             <!--
  26.                 When the parent pattern is appended to the DOM
  27.                 populate the table additionally.
  28.             -->
  29.         </tr>
  30.     </script>
  31. </tbody>
  32. </table>