js

Oct 08, 2008 15:12

javascript tips:
str='abcd';
alert(str[0]) -> alerts 'a'
BUT NOT IN IE!!!

better to use: alert(str.charAt(0)) -> alerts 'a'
Previous post Next post
Up