ithanshui / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

JQuery.Multi.js has some blemish #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.copy the following code into a file named 'index.html'.
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">     
        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="jquery.form.js"></script>
        <script type="text/javascript" src="jquery.MultiFile.js"></script>
        <script type="text/javascript" src="jquery.blockUI.js"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                // bind 'process_form' and provide a simple callback function
                $('#process_form').ajaxForm(function() {
                });
            });
        </script>
        <script type="text/javascript">
            $(function(){
                $('#upload').MultiFile({
                    //accept:'gif|jpg', 
                    //max:3, 
                    STRING: {
                        remove:'Remove',
                        denied:'You cannot select a $ext file.\nTry again...',
                        file:'$file',
                        selected:'File selected: $file',
                        duplicate:'This file has already been selected:\n$file'
                    }
                });
            });
        </script>
        </head>
    <body>
                    <tr>
                        <td>附件:<input type="file" name="upload" id="upload" size="40" /></td>
                    </tr>
                </table>
            </form>
    </body>
</html>
2.Then import the following two file into the same root.
     JQuery.js JQuery.Multi.js
3.Open the 'index.html' filr with IE.
4.Press 'explore' button and choos a file. Then clik the 'explore' button 
immediately, choose a file that is different from before.You'ii find something 
wrong.
there is an attach below.
Some suggestion:
please hide the newEle but not the current, I think it may fine.

Original issue reported on code.google.com by guzhen...@yeah.net on 29 Jul 2011 at 8:40

Attachments:

GoogleCodeExporter commented 8 years ago
The project has been dormant for over a year and many of the support requests 
have been resolved and/or are invalid. So we're going to archive them all, 
pending review.

If you're still having a problem with the plugin, please visit the project page 
and re-open the issue. We do apologize for any inconvenience this may cause, 
but please bear with us...  we'll be making improvements to the plugin and its 
documentation over the coming weeks.

Stay tuned; and thanks for your support!

The Fyneworks Team
http://twitter.com/fyneworks

Original comment by fyneworks on 26 Jan 2012 at 1:37