mdelrosso / sheepit

SheepIt! Form Cloning plugin for Jquery
http://www.mdelrosso.com/sheepit/
MIT License
68 stars 44 forks source link

plugin is not compatible with jquery 1.8 #21

Open gchokeen opened 11 years ago

gchokeen commented 11 years ago

I am trying create the nested form using this plugin. So I just cloned exact html js in my webpage of this demo. I use jquery 1.8 version. I am getting error like below.

TypeError: nameTemplateAttr is undefined

newNameAttr = nameTemplateAttr.replace(options.indexFormat, index);

Note : I use development veriosion (uncompressed) Do you have any Idea?

fadjrin commented 9 years ago

replace .attr with .prop,