js onclick事件传参

传字符串参数

  1. var html = "<a href='#' onclick='onedit(&quot;"+ row.name + "&quot;)';>编辑</a>"  
posted @ 2017-07-03 16:32  土豆柿子  阅读(986)  评论(0编辑  收藏  举报