Veda99817
Veda99817

Reputation: 169

SCRIPT5009: 'FormData' is undefined in IE9

I have this form that has a Some simple fields in it, First Name, Last name, Address, City, Postal and Phone Number. There is a Cancel and Submit button at the bottom that submits the form. This form submits and works without any issues on FF, Chrome, Safari, IE10 but NOT on IE9, it's giving me this error "SCRIPT5009: 'FormData' is undefined in IE9 ".

Has anyone experienced this before?

Upvotes: 0

Views: 1564

Answers (1)

taxicala
taxicala

Reputation: 21769

FormData is only supported from IE10. Earlier versions do not have that implemented.

When asking questions, please always provide relevant code, do not explain what your code looks like, better paste it in order to be easier to SO users to help you out.

In order to fix this, you should use a condition in your script in order to check if FormData is undefined and if yes, use a fallback method.

Upvotes: 1

Related Questions