i’ve just spent the last 4 hours working on this piece of code and was so happy to finally get it working, but it wont work in IE! I can’t undersand why?
Here is the code on jsfiddle: http://jsfiddle.net/hQkFH/8/
Thank you!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That code doesn’t exactly work well in Chrome. The problem that breaks it in Internet Explorer, however, is the trailing comma in the object literal:
That syntax is valid, but causes an error in Internet Explorer before v9.