thanks for all your help last week.
I have two more requests.
Can you help me put the mime type that we accept. i.e. .PDF, .AI, .IDD
Can we pass the mime type that has been uploaded into an input field as text?
I have attached the code we are using below.
Many thanks
Damon
<script>
$(function(){
$("#progressbar").progressbar({
value: 0
});
$("#myfile").change(function() {
if (this.value) {
$('#localSpinner').show();
filepicker.uploadFile(this, function(data) {
$('#localResult').val(data.url);
$('#localSpinner').hide();
}, function(error) {}, function(progress) {
$('#progressbar').progressbar('value', progress),
$('#progressbar_text').progressbar('value', progress).text(progress+"%")
});
}
});
});
</script>