It looks like you're new here. If you want to get involved, click one of these buttons!
<script type=\"text/javascript\">
$(document).ready(function() {
$('#fileInput').fileUpload ({
'uploader' : 'uploadify/uploader.swf',
'script' : 'upload.php',
'cancelImg' : 'uploadify/cancel.png',
'auto' : 'true',
'folder' : '../uploaded',
onComplete:function(e, queueId, fileObj, response, data) {
$(\"#img\").attr({src: response });
}
});
$(\"#go\").click(function(event){
id = $(\"#id\").val();
$('#fileInput').fileUploadSettings('scriptData','&id=' + id);
$.get(\"getcurrpic.php\", { id: id}, function(ret){
$(\"#img\").attr({src: ret });
$(\"#pic\").css({'display': 'inline'});
$(\"#picin\").css({'display': 'inline'});
});
});
});
$('#id').bind('change', function(){
$('#fileInput').fileUploadSettings('scriptData','&id=' + $(this).val());
});