input file element:
<input type="file" id="fileinput" />
get file :
var myFile = $('#fileinput').prop('files');
More Related Contents:
- Sending multipart/formdata with jQuery.ajax
- Best way to remove an event handler in jQuery?
- File upload progress bar with jQuery
- Read/write to file using jQuery
- How can I upload files to a server using JSP/Servlet and Ajax?
- Download File Using jQuery
- Image convert to Base64
- ‘dragleave’ of parent element fires when dragging over children elements
- How to make Asynchronous(AJAX) File Upload using iframe?
- jQuery File Upload Plugin: Is possible to preserve the structure of uploaded folders?
- Pass Blob through ajax to generate a file
- File Upload via AJAX within JQuery
- Is there a good jQuery Drag-and-drop file upload plugin? [closed]
- jQuery: read text file from file system
- jquery – Read a text file?
- jQuery code doesn’t work if I’m using a local jquery.js file, why?
- Can someone explain how to implement the jQuery File Upload plugin?
- File upload Jquery WebApi
- Chrome file upload bug: on change event won’t be executed twice with the same file
- What’s the point of the X-Requested-With header?
- A simple jQuery form validation script [closed]
- jQuery templating engines [closed]
- Scroll to a div using jQuery
- Google ReCAPTCHA how to make required?
- The specified value does not conform to the required format yyyy-MM-dd
- How to check if all inputs are not empty with jQuery
- Get image width and height from the Base64 code in JavaScript
- Is the order objects are return by a jQuery selector specified?
- How do I get the offset().top value of an element without using jQuery?
- jQuery UI Tabs back button history