【发布时间】:2012-08-16 21:51:03
【问题描述】:
当我尝试在 JQuery 中使用 .html() 方法插入空格时遇到问题。
以下是我的代码:
html += '<td >'+description+". "+location;
html += +" "+position;
html += +" "+side+'</td>';
$('#tempResult').html(html);
我得到的结果如下:
Green Tint. 0FrontNaNRight
【问题讨论】:
标签: javascript jquery-ui jquery jquery-selectors