-2
使JUST card.price可编辑的最佳方式是什么?我用几种不同的方式解决了这个问题,这些方式看起来很愚蠢,但却不能产生正确的结果。有没有人有一些建议?使LI的一个部分可编辑的最佳方式
html += "<li class='list-item ui-state-default' id=" + i + ">" +
card.card_name + ' - ' + card.price +
"<button class='removeThis'>" +
"X" + "</button>" + "</li>";