Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Uploading a file with in html with filetype constraint

I want a user to upload .csv file using file browse of html. I have used file input type but the user can upload any type of files with that. What i want is a user can only browse and see .csv file. ...
Saumyaraj's user avatar
  • 1,250
193 votes
10 answers
572k views

Get data from file input in JQuery

I actually have a file input and I would like to retrieve the Base64 data of the file. I tried: $('input#myInput')[0].files[0] to retrieve the data. But it only provides the name, the length, the ...
kschaeffler's user avatar
  • 4,213