hth
sigi
On 4/24/06, Jeremy Kitchen <
[EMAIL PROTECTED]> wrote:
Is there no better way to merge one array into another than iterating over the
array you wish to append with each() and push()ing the elements on to the
other array?
Here's what I mean:
var arr1 = [1, 2, 3, 4, 5];
var arr2 = ['a', 'b', 'c'];
$A(arr2).each(function(el) { arr1.push (el) });
Is there no better way to do it than this?
Thanks!
-Jeremy
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
Mit freundlichen Grüßen
Siegfried Puchbauer
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs