Closed sandro-pasquali closed 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).
try to use last version (2.8.0)
"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).