I'm facing a little trouble in putting ajaxhelper to work in my install upgrade. I'm using oacs-5-3 with the acs-integration-procs.tcl, head-procs.tcl and all the template files in www directory in head versions, but I can't make my old ajax work. I'm trying to run a single command, wich is:
set js_update_user_select [ah::ajaxupdate \
-container "tech_select" \
-url "search-users" \
-options "encoding:'UTF-8'" \
-pars "Form.serialize('catalog')"]
In the form definition part (using ad_form) I have:
{tech_responsible:text(text) {label "[_ catalog.Tech_responsible]"} {html {onKeyUp "$js_update_user_select document.getElementById('tech_select').style.visibility='visible';" autocomplete "off"}} {after_html "
"} }When I try to load the page, firebug shows me the following error:
uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.5.1
I've checked the files ajaxhelper/www/resources/scriptaculous/scriptaculous.js and ajaxhelper/www/resources/prototype/prototype.js and they seem to be in right version.
When I type something in the field so the ajax could search, I have the following error:
$(form) has no properties
return $A($(form).getElementsByTagName('*')).inject([],...
Can anybody help me on this?
Request notifications