我的问题是,如何使用javascript并返回或引用表单,如knockout.js?例如,在最简单的意义上,假设我有以下HTML页面。是否可以使用<script>标记调用将返回表单的服务器?//page1.html ...some html here
<script> function call which will return a knockout.js这是否意味着我可以使用javascript调用外部knockout.js表单?
knockout.js:3381 Uncaught ReferenceError: Unable to process binding "if: function(){return customer().fullname }" at if (eval at createBindingsStringEvaluator (knockout.js(knockout.js:2173)
at Function.evaluateImmediate_Ca
){返回‘} }”消息:无法处理绑定“模板:函数(){返回getTemplate() }”消息: getTemplate未在模板处定义( createBindingsStringEvaluator (knockout.js:2982) ),:3:61) init (knockout.js:5454) at knockout.js:3358 at Object.ignore (knockout.js:1470) at knockout.js:3357 at Object.arrayForEach (