// Get value of text box var text = jQuery(this).val();
// Set value of file box (produces error) jQuery('input[type=file]').val(text);
you should select the proper path of the image which you are going to upload and also see the path is coded on plain text or some code so it will check the reliability of the file which is to be uploaded and how it can be done.Select the file path for upload.
________________________ File Upload
This is not an easy solution as browsers are closing some options in order to meet the "Secure Mode Mandate", now 2 years old and causing real problems to us needing the original information for:
non-hosted web enabled apps
My app is a MySQL Sync app, and can run either hosted or non-hosted (localhost).
I see how they are beating you up, for multiple posts on the same item. I understand as almost no one, except the "real experts" have an answer to this. Be patient, there is code out there that solves this.
Feel free to jump into my thread and track it. We will find the answer shortly.