从JavaScript函数调用webharvest函数

时间:2017-02-07 12:01:25

标签: javascript webharvest

我创建了一个webharvest函数。我可以使用webharvest代码调用该函数。我的挑战是,需要从JavaScript函数调用webharvest函数。可能吗?例如,考虑一下:

Webharvest方法

 <function name="testing">  
   <script>
   // <![CDATA[
       // code block    
   // ]]>
   </script>

JavaScript方法

<script>
  // <![CDATA[
  function jMethod(){
    testing(); // need to call that web harvest method here
  }
  // ]]>
</script>

0 个答案:

没有答案