2017-10-06 63 views
-1

你好,我是新的reactjs。我想知道如何调用在reactjs中的客户端index.html(主文件)中添加的外部jquery函数。 我想,当我再提交形式详细说明了运行此文件转到这个文件并参考getch数据并返回JSON的细节jquery问题在reactjs

回答

0

use this in js file 
 
module.exports = { 
 
\t \t function_name : function_name 
 
} 
 

 
then include this file in reactjs 
 
use defined function name and call it 
 
function(parms1, parms2);