I have the following code that works fine in IE8, firefox, chrome but not in IE7
Can someone please explain why this code below doesn’t work in IE7 ?
var id = $ (this).attr("id");
var nextStep = id[id.length - 1];
basically, IE7 doesn’t seem to understand this line:
id[id.length - 1]