SHARE
TWEET

[ntpc研習]Upload_1_表單

Tiebob Jul 11th, 2017 330 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2.  
  3. <html lang="en">
  4.     <head>
  5.         <meta charset="utf-8" />
  6.         <title>Kendo UI Web Test</title>
  7.        
  8.         <link rel="stylesheet" href="styles/kendo.common.min.css" />
  9.         <link rel="stylesheet" href="styles/kendo.default.min.css" />
  10.         <script src="js/jquery.min.js"></script>
  11.         <script src="js/kendo.all.min.js"></script>
  12.         <script src="js/cultures/kendo.culture.zh-TW.min.js"></script>
  13.  
  14.         <script>
  15.             $(function(){
  16.                 $("#upfile").kendoUpload({
  17.                     async: {
  18.                         saveUrl: "upload.php",
  19.                         removeUrl: "http://my-app.localhost/remove",
  20.                         autoUpload: false
  21.                     }
  22.                 });
  23.             });
  24.  
  25.         </script>
  26.     </head>
  27.     <body>
  28.         <h1>Kendo UI - </h1>
  29.         <form method="post">
  30.             <div>
  31.                 <label for="auto_device">設備名稱:</label>
  32.                 <input id="upfile" name="files[]" type="file" />
  33.             </div>
  34.         </form>
  35.     </body>
  36. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top