Ticket #10310 (closed enhancement: wontfix)
.append does not accept arrays as an argument
|Reported by:||mblase75@…||Owned by:|
The first .append will work, the second will not:
$('#content1').append("test one","test two"); var arr = ["test one","test two"]; $('#content2').append(arr);
The documentation clearly fails to say that .append accepts array arguments. However, I feel it should accept them and treat them the same as multiple arguments.