你能在ePub中使用jQuery吗?(Can you use jQuery in an ePub)

我正在制作一本ePub杂志,但我不想让用户每个月下载一个文件,而是希望使用XML和jQuery在ePub文档中加载正确的数据。

如果这可能会很棒

I am looking at making an ePub magazine, but instead of making the user download a file each month, I would like to use XML and jQuery to load the correct data in the ePub document.

If this is possible that would be great

最满意答案

问题是,您需要启用Javascript的ePub阅读器才能实现此功能 。 所以肯定的答案是:这取决于。

此外,您应该检查,如果您的目标组的epub阅读器,如果它了解JS,可以通过HTTP加载数据。

The problem is, that you need a Javascript enabled ePub reader for this to work. So the definite answer is: It depends.

Also, you should check, if your target group's epub reader, if it understands JS, can load data via HTTP.

更多推荐