Having some problems with IE7 on jquery $.each, this gives me
an “Object does not support….”
arr = arr[1].split('::');
$.each(arr, function() {
item = $(this).split("#_#");
});
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.
Don’t use the jquery extended version.
splitis a native javascript method, not a jquery method.Note: I’m assuming here that the
item = ...line is just an excerpt from a longer method.UPDATE per @user1158040’s comment: To get this to work with IE7, you may need to declare the array as an actual array object rather than an array literal. So instead of something like this:
You’d do this: