js拼装字符串中调用函数传递多个参数。

var txt = '<button href="javascript:void(0);" onclick="editItemXmys(\''+row.XMYS_ID+"','"+row.ITEM_NO+'\')" class="iput_m" style="width: 40px; height: 20px;">' + '修改' + '</button>';

  

posted @ 2019-10-29 15:11  请叫我靓仔  阅读(1018)  评论(0编辑  收藏  举报