i would ask, is there any way to redirect to other page with post data after file upload successfully? Here is my code:
$(function() {
var bar = $('#bar');
var percent = $('#percent');
var status = $('#status');
$('form').ajaxForm({
beforeSend: function() {
var percentVal = '0%';
bar.width(percentVal);
percent.html(percentVal);
},
uploadProgress: function(event, position, total, percentComplete) {
var percentVal = percentComplete + '%';
bar.width(percentVal);
percent.html(percentVal);
},
complete: function(data) {
location.href='upload.php'; //here i need to redirect to selected page with post request
}
});});