-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
how can i add the for-loop index to the upload templ-form? #893
Comments
seems to be cut off: |
The template will be rendered for each add call. From the JavaScript Templates documentation:
<h3>{%=0+''%}</h3> That is why the following won't print anything: {% for (var i=0, files=o.files, l=files.length, file=files[0]; i<l; file=files[++i]) { %}
{%=i%}
{% } %} |
hi and thx for taking the time looking into it. i took your advise and $('#fileupload').fileupload(
so, no idea waz wrong here, i never used js-templates etc... any ideas? thx On Tue, Dec 20, 2011 at 1:55 AM, Sebastian Tschan <
|
The text was updated successfully, but these errors were encountered: