I have a script which removes items from an input with CSV. It works except in Explorer
What could be the cause? I can’t figure it out… !
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.
I suppose you’re talking about older versions of Internet Explorer (the newer version being 9, and your script works on it).
Then it’s probably because of
Array.indexOf, Internet Explorer used to not have that function. See Array.indexOf in Internet Explorer.By the way,
jQuery.inArrayalso returns the value’s index within the array. So doing this is pretty redundant: