字符串中变量和引号的方法

optionsHtml += ('<option value="' + item + '">' + item + '</option>');
也就是说,这本身就是个字符串
posted @ 2016-12-20 18:04  RoperLee  阅读(242)  评论(1)    收藏  举报