我想將參數(即字符串)傳遞給Onclick函數。 目前,我這樣做: '<input type='button' onClick='gotoNode(' + result.name + ')' />'. 例如,result.name等於字符串“ ...
確定! 回上一頁