要点:引号前后要加上"
var btnHtml = "<input type=\"button\" class=\"btn\" οnclick=\"gotoYS(""+YSurl+"",""+did+"")\""
+"style=\"width:130px;\" value=\"查看\">";
要点:引号前后要加上"
var btnHtml = "<input type=\"button\" class=\"btn\" οnclick=\"gotoYS(""+YSurl+"",""+did+"")\""
+"style=\"width:130px;\" value=\"查看\">";