Hi,

A user kindly reported a bug in my plugin, but I'm having a hard time
trying to fix it.

The plugin is here:
http://www.fyneworks.com/jquery/multiple-file-upload/

The bug is:
If you do specify a file extension, for example jpg, and then you try
to enter a disallowed file type, for example a tiff, it pops up the
alert as it should.
At this point, the plugin tries to clear the value in the file input
element but this fails.
This causes the invalid value to be submitted anyway.

To observe the bug:
- Use IE6 or 7
- Use example 3 at the bottom of the page (the one with file extension
restrictions)

The bug happens here:
LINE 158
e.attr('value', ''); // doesn't work in IE6/7

I've also tried this, but no luck:
e.get(0).value = '';

Can any one help?

Thanks,
Diego A.

Reply via email to