This might seem like a really daft question, but I couldn't find an answer anywhere. How do you add something to an enumerable object?

Something like
var first = $A(getElementsByTagName('td'));
var second = $A(getElementsByTagName('tr'));
first.PUSH(second);

where the PUSH is something unknown.

am i supposed to use inject here in some way?

Andreas
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to