How can I post the value from an input field with the files I uploaded to the server whit UPLOADIFY?
<tr>
<th>text:</th>
<td><input type="text" name="userInput" id="userInput" /></td>
</tr>
<tr>
<th>files:</th>
<td><input id="file_upload" name="file_upload" type="file" /></td>
</tr>
<script type="text/javascript">
'onUploadStart' : function(){
$('#file_upload').uploadifySettings(
'postData',
{
"userInput": $("#userInput").val()
}
);
},
</script>
This will working not yet, but how can i do this?
Try:
Hope it helps