开发者

Does jTemplates foreach preserve the ordering of the collection?

My collection is ordered alphabetically, but when I assign the collection and load the html using jquery jtemplates, things are coming out un-or开发者_如何学运维dered.

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

Is this expected behavior?


Nope

What server code are you using to prepare and send the collection?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜