During trying to combine submit and upload in one form, I have a problem in upload but for submit form it\'s no problem.
JQuery + Ajax :
$(\"#oqcsubm
It is impossible to send file input data via $.ajax only. I have successfully used jQuery form plugin http://malsup.com/jquery/form/. It wraps any form into AJAX processing, and adds a lot of useful callback options. It also does some clever things to handle file uploads. For older browsers (which do not support XHR Level 2) there might be some very minor additional server-side modifications, but otherwise it works out of the box.
For specific docs on using jQuery form to handle file uploads see http://malsup.com/jquery/form/#file-upload