How to handle lack of JavaScript Object.bind() method in IE 8
There is a good compatability script on this page: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind Just copy and paste it into your script. EDIT: placing the script below for clarity. if (!Function.prototype.bind) { Function.prototype.bind = function(oThis) { if (typeof this !== ‘function’) { // closest thing possible to the ECMAScript 5 // internal IsCallable function throw new TypeError(‘Function.prototype.bind – what … Read more