<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>小雨在线-视频上传插件</title> <script src="//cdn.bootcss.com/jquery/1.7.1/jquery.min.js"></script> <script src="jquery.uploadify.min.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="uploadify.css"> </head> <body> <script type="text/javascript"> $(function () { $('#studata').uploadify({ 'auto': false, 'formData': { 'stuid': '1111111111', }, 'buttonText': '请选择上传文件', 'fileSizeLimit': '100MB', 'fileTypeDesc': 'excel文件', 'fileObjName': "studata", 'fileTypeExts': '*.xlsx',//文件类型过滤 'swf': 'uploadify.swf', 'multi': false, 'successTimeout': 1800, 'queueSizeLimit': 100, 'uploader': 'uploadify.php', 'onUploadStart': function (file) { //alert('Starting to upload ' + file.name); //正在上传中... // $('#alert-content').html('正在上传文件'); // modal.modal(); }, //onUploadSuccess为上传完视频之后回调的方法, 'onUploadSuccess': function (file, data, response) { //$('#alert-content').html('正在导入数据'); data = eval("(" + data + ")"); $.ajax({ type: 'POST', url: '../reader.php', dataType: 'html', data: {'exceldir': data.updir}, success: function (retdata) { alert(retdata); //modal.modal('close'); // if(retdata==1){ // alert('导入成功'); // }else{ // alert('导入失败'); // } } }); } }); }); </script> <p><input type="file" value="studata" id="studata"> <input type="button" onclick="javascript:$('#studata').uploadify('upload','*')" value="上传"></p> </body> </html>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Mac version
God-level code editing software (SublimeText3)