Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在尝试着
function doRow(rowNum) { $.ajax({ url: "z.html", cache: false, success: function(html){ $('#result + rowNum + "'").append(html); } });
这似乎不起作用。
当我走到那一步时,我还想将变量传递给数据属性。
试试这个:
function doRow(rowNum) { $.ajax({ url: "z.html", cache: false, success: function(html){ $('#result'+rowNum).append(html); } });