emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 115 forks source link

jquery 1.6 #57

Closed sandro-pasquali closed 13 years ago

sandro-pasquali commented 13 years ago

"element.attr("name") is undefined"

(or error on trying to get #indexOf of "undefined")

Relevant code: +85 function createFCBK() { element.hide(); element.attr("multiple", "multiple"); if (element.attr("name").indexOf("[]") == -1) { element.attr("name", element.attr("name") + "[]");

Expect related to change in jQuery 1.6 here: http://blog.jquery.com/ re: new #prop (vs old #attr) behavior.

Was unable to fix. Managed to remove the errors via #prop, but select failed to render nevertheless (remained a select control).

emposha commented 13 years ago

try to use last version (2.8.0)