Ajax Help
Posted: Tue Jul 28, 2009 9:25 am
Hi all, im trying to get a contact form to run using ajax (jquery) the sample can be seen at ....http://www.alliedwatersystems.co.nz/devset/ i have it working in a standalone page fine but inside the cms its just directing to the form handler.
I have the form itself in a global block and am including the js/css required to run it from the template within the cms. the included js that handles the layers/vars being passed through can be viewed at...http://www.alliedwatersystems.co.nz/devset/index_files/contact_ajax.js
any advice would be much appreciated. im stumped as to why it wont work. when i had the above js included within the page itself the code was cut down presumably by the cms on rendering the page so does anyone know why that would be? im an experienced programmer but am new to this cms so would love some help.
Thanks in advance.
regards
Dan
ps the test version that works can be seen here...http://www.alliedwatersystems.co.nz/devset/test.php this is a standalone copy of the page not part of a cms.
I have the form itself in a global block and am including the js/css required to run it from the template within the cms. the included js that handles the layers/vars being passed through can be viewed at...http://www.alliedwatersystems.co.nz/devset/index_files/contact_ajax.js
any advice would be much appreciated. im stumped as to why it wont work. when i had the above js included within the page itself the code was cut down presumably by the cms on rendering the page so does anyone know why that would be? im an experienced programmer but am new to this cms so would love some help.
Thanks in advance.
regards
Dan
ps the test version that works can be seen here...http://www.alliedwatersystems.co.nz/devset/test.php this is a standalone copy of the page not part of a cms.