On 5/24/06, Marco M. Jaeger <[EMAIL PROTECTED]> wrote:
I was wondering whether anybody could please tell me why this is causing an
error in IE (works in Firefox):
$A(container.getElementsByTagName('*')).each( function(el) {
Element.cleanWhitespace(el);
}.bind(this));
What would be an alternative of achieving the same?
Could you try this :
col = container.getElementsByTagName('*');
len = col.length
for(var i = 0 ; i < len ; i++) {
Element.cleanWhitespace(col[i]);
}
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs