It looks like you're new here. If you want to get involved, click one of these buttons!
Test
twice, I think there should be an event onSuccesfull
<script type="text/javascript">
$(document).ready(function() {
$("#uploadimage").fileUpload({
'uploader': 'uploadify/uploader.swf',
'cancelImg': 'uploadify/cancel.png',
'script': 'uploadify/upload.php',
'folder': 'files',
'fileDesc': 'Image Files',
'fileExt': '*.jpg;*.jpeg;*.png;*.gif',
'multi': false,
'auto': true,
'sizeLimit': 104850,
onComplete: function (event, ID, fileObj, response, data) {
$('#photos').append('<p>Test</p>');
},
onError: function (event, queueID ,fileObj, errorObj) {
$("#uploadimage" + queueID).fadeOut(250, function() { $("#uploadimage" + queueID).remove()});
return false;
}
});
});
</script>
</head>
<body>
<div id="uploadimage">You have a problem with your javascript</div>
<div id="photos"></div>
</body>