Uploadify Uploadifive support check

Check if the browser supports “multiple” attribute for input file element, this way you don’t have to worry about browser or its version. You are only checking the browser feature.

var inputFile=document.createElement(“input”);

if(typeof inputFile.multiple!=”undefined”) return “Supports Uploadifive!”;
else return “Supports Uploadify!”;

 

Advertisements