{"action":"closed","issue":{"url":"https://api.github.com/repos/formvalidation/formvalidation/issues/405","labels_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/405/comments","events_url":"https://api.github.com/repos/formvalidation/formvalidation/issues/405/events","html_url":"https://github.com/formvalidation/formvalidation/issues/405","id":36188494,"number":405,"title":"Upload via ajax","user":{"login":"dl988","id":5663473,"avatar_url":"https://avatars.githubusercontent.com/u/5663473?v=3","gravatar_id":"","url":"https://api.github.com/users/dl988","html_url":"https://github.com/dl988","followers_url":"https://api.github.com/users/dl988/followers","following_url":"https://api.github.com/users/dl988/following{/other_user}","gists_url":"https://api.github.com/users/dl988/gists{/gist_id}","starred_url":"https://api.github.com/users/dl988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dl988/subscriptions","organizations_url":"https://api.github.com/users/dl988/orgs","repos_url":"https://api.github.com/users/dl988/repos","events_url":"https://api.github.com/users/dl988/events{/privacy}","received_events_url":"https://api.github.com/users/dl988/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/formvalidation/formvalidation/labels/too+old","name":"too old","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-06-20T17:55:03Z","updated_at":"2015-01-20T06:56:51Z","closed_at":"2015-01-20T06:56:51Z","body":"I'm would like to validate a file and upload via ajax ($.post), but at backend i can't read file name by $_FILES, i't give NULL, i have change data = FormData('#form')[0] replace by form.serialize(), but not effect, can you help me? here my code at submitHandler:\r\nvar data = new FormData('#formHandle')[0]; (or data = form.serialize())\r\n $.post('admincp/product/test', data, function(result) {\r\n        core.renderResponse(result);\r\n}, 'json');\r\n\r\nHTML already content: enctype=\"multipart/form-data\""}}