This repository was archived by the owner on May 25, 2023. It is now read-only.
  
  
  
  
  
Description
I hooked up jQuery templates and am getting weird behavior for adding table rows.  It's adding a display:block on the <tr> in firefox 3.6.13.  It doesn't in chrome.
Here's the function:
buildDownloadRow: function (file) {
    return $("#documentTemplate").tmpl(file);
}
The Template:
<script id="documentTemplate" type="text/x-jquery-tmpl">
    <tr>
        <td>${name}</td>
        <td>${size}</td>
    </tr>
</script>
Results in this in FF:
<tr style="display: block;">
    <td>name</td>
    <td>2508</td>
 </tr>
Anybody seeing this?  With the raw markup as done in the example, the display:block isn't added, so must be something in jQuery templates.  But, I thought I'd start here anyway before posting in the templates project issue tracker.