What way better to do Upload File with JQuery
I'm trying to do upload with jquery.
http://malsup.com/jquery/form/
$('#upload').click(function() { $('#formupload').ajaxForm({
dataType: 'JSON',
type: 'POST',
url: 'servlet',
success: function() {
// do something
},
error: function() {
// Do something
} });
});
What's wrong?
No comments:
Post a Comment