Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

JSF ids produce error in multi file upload


Project:Multiple File Upload
Version:1.2.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I am using:
- JQuery 1.2.6 (latest)
- MultiFile 1.2.9 (latest)

When using JSF which its structured ids (id1:id2:id3) file multi upload produces the javascript error "fn is not a function" in jquery.js line 1767 which is part of the filter function. The problem seems to be the colons as seperator. When removing them everything works fine. With them the jQuery.grep() is called more than once until finally the callback function ("fn") is undefined resulting in the error.

I have appended a reproducer (html file + both scripts). As it is it produces the error above, when changing the id "form:j_id16:upl_btn_fileselect" from the file input to anything without colons it works. Hoping that I am not mistaken.

Greetz
Christian

AttachmentSize
Reproducer.zip36.07 KB