Javascript Array not working in IE7 and older versions but working in IE10 Here is my code which is working in IE10 but not working in IE7.
number = "123";
var j=0;
alert(number[j]);
Result in IE7
undefined
Result in IE10
1
Please let me know how to call the variable values as single dimension array in older browsers.