2017-10-06 62 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);