传字符串参数 var html = "<a href='#' οnclick='onedit(""+ row.name + "")';>编辑</a>" 转载于:https://www.cnblogs.com/xiaommvik/p/7111792.html