在js文件中的handlebars部分:. var source=$('#todo-list-template').html(); 先將原本列表的html值都原汁原味取出來 var template = Handlebars.compile(source);
確定! 回上一頁