码迷,mamicode.com
首页 > Web开发 > 详细

文件上传原理

时间:2017-09-02 22:35:24      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:action   ram   frame   ext   post   body   get   asc   bsp   

<script type="text/javascript">
        function submitFrom(){
            $("#idForm").submit();
        };
    </script>
</head>
<body>
    <h1>文件上传演示</h1>
    <iframe name="aa" style="display:none;"></iframe>
    <form id="idForm" action="xxx" method="post" enctype="multipart/form-data" target="aa">
        <input type="file" name="xls" onchange="submitFrom()">
    </form>
</body>

文件上传原理

标签:action   ram   frame   ext   post   body   get   asc   bsp   

原文地址:http://www.cnblogs.com/zjqblog/p/7468047.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!