【问题标题】:Does jTemplates foreach preserve the ordering of the collection?jTemplates foreach 是否保留集合的顺序?
【发布时间】:2010-05-21 20:10:08
【问题描述】:

我的集合是按字母顺序排列的,但是当我分配集合并使用 jquery jtemplates 加载 html 时,事情就没有排序了。

  {#foreach $T.results as r}
      <li>{$T.r.Name}</li>
 {#/for}

这是预期的行为吗?

【问题讨论】:

    标签: asp.net javascript jquery jtemplate


    【解决方案1】:

    没有

    您使用什么服务器代码来准备和发送集合?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-28
      • 1970-01-01
      • 2011-01-23
      • 2016-09-12
      • 2014-12-17
      • 2012-03-15
      • 1970-01-01
      • 2010-10-14
      相关资源
      最近更新 更多