Open GoogleCodeExporter opened 8 years ago
upclick({
element: uploader,
action: '../services/file_service.php', //your service file
onstart: function (filename) {
alert('Start upload: ' + filename);
my_file = filename; //var my_file=""; declare this inside your dom ready
}
The validation part!!!
if (my_file == "" && file_name == "") {
$(".error_msg").text("please upload your file");
$("#uploader").focus();
$("#email").css('border', '2px solid red');
return false;
}
Original comment by jay...@experiencecommerce.in
on 27 Aug 2013 at 10:48
Original issue reported on code.google.com by
jay...@experiencecommerce.in
on 5 Aug 2013 at 8:09