IE 8 does not support foreach method

Viewed 8119

This code not working in Internet Explorer 8.

documenttab.query('.field,.button').forEach(function(c){c.setDisabled(false);});

I get the error SCRIPT438: Object doesn't support property or method 'forEach'

3 Answers
Related