How to check if XMLHttpRequest's send() supports File

Posted by Jaka Jancar on Stack Overflow See other posts from Stack Overflow or by Jaka Jancar
Published on 2010-03-11T21:33:51Z Indexed on 2010/03/11 21:34 UTC
Read the original article Hit count: 436

Filed under:
|

Safari's XMLHttpRequest's send() method supports a File argument. Firefox does not (yet).

How can I check if this is supported? In Firefox, it will just behave as if an empty string was passed.

I'm trying to avoid doing browser version detection.

© Stack Overflow or respective owner

Related posts about xmlhttprequest

Related posts about JavaScript