dcneiner/In-Field-Labels-jQuery-Plugin

problem when the ID of the elements contains a dot "."

elkhantar opened this issue · 1 comments

Just by chance I was testing your code in a struts project where the target property was inside another object... and it didn't work as expected, because the element name contained a dot.

I wrote up a quick fix that you can introduce in your inFieldLabels function (line 123)

for_attr=for_attr.replace(".",".");

You probably would like to have a better look into it, since I just checked the "." character.

This should have been fixed in version 0.1.3