Side navigation
#10310 closed enhancement (wontfix)
Opened September 19, 2011 03:50PM UTC
Closed September 20, 2011 04:53PM UTC
.append does not accept arrays as an argument
Reported by: | mblase75@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | manipulation | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Attachments (0)
Change History (1)
Changed September 20, 2011 04:53PM UTC by comment:1
component: | unfiled → manipulation |
---|---|
priority: | undecided → low |
resolution: | → wontfix |
status: | new → closed |
Thank you for the suggestion, but I don't think we will be implementing this. It would not be consistent with any other manipulation method.