Hello all,
I have designed two forms both of which use ajaxSubmit to submit the form. Also two forms include
<input type='file' name='filename' size='10' />
However, the return result from two forms are different:
The function procProfFormSuccess(responseText, statusText, XMLHttpRequest)
First form responseText: {"success":true,"msg":"Your profile has been successfully updated!"}
Second form responseText: <head></head><body>{"success":true,"msg":"Your profile has been successfully updated!"}</body>
I cannot figure out why. Based on my understanding, the return results should always be like the second form if the form includes a FILE component.
Please correct me if I am wrong here.
Thank you