Last change
on this file since 445bdb4 was
445bdb4,
checked in by José Sulbarán <jsulbaran@…>, 7 years ago
|
Agrego el form
|
-
Property mode set to
100644
|
File size:
273 bytes
|
Line | |
---|
1 | |
---|
2 | $("#form").on('submit', function() { |
---|
3 | |
---|
4 | //var formData = new FormData(document.getElementById("form")); |
---|
5 | var formData = new FormData(); |
---|
6 | |
---|
7 | |
---|
8 | formData.append("uploads", $("#file-to-normal")[0].files[0] ); |
---|
9 | |
---|
10 | console.log(formData); |
---|
11 | console.log($(this)); |
---|
12 | |
---|
13 | |
---|
14 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.