Hi Eduardo,
I took some time to check the changes on OpenACS head and you're absolutely right, the files I included in my www/docs are now outdated. My bad for not keeping up 😊
I included copies of those files in www/docs because at the time template::head wasn't in CVS head yet but now they are so I'll be removing them on my next update. I will update the docs too.
Please use the ones from cvs head.
I just committed a change in head-procs.tcl which solves the error about prototype being required, so please get a fresh copy of head-procs.tcl from cvs head.
Now about that javascript error.
Do you have an id for your form ?
The error indicates that it can't find the form element.
Maybe instead of $(form), try using $("formid") where formid is the id you give your form.
Your form should look like < form id="formid" ... >
If you're using ad_form I believe you can add it in the html parameter like -html {id "formid"}
Thanks for trying out ajaxhelper and do let me know if this helped.
Thanks,
Hamilton