【发布时间】:2013-05-03 09:29:01
【问题描述】:
icanhaz 文档以此为例说明如何从远程服务器中提取 ich 模板。
$.getJSON('/myserver/templates.json', function (templates) {
$.each(templates, function (template) {
ich.addTemplate(template.name, template.template);
});
});
但是,文档并没有真正告诉您远程服务器上的文件应该是什么样子。有人有什么想法吗?
【问题讨论】:
标签: html ajax jquery icanhaz.js