I\'m trying to send a file along with other data in a form and it should be pure java script no JQuery
var file= document.getElementById(\'file\');