Forums

Javascript not working with templates

pcheng 18 Aug, 2011
I have been working with Chronoforms v4 on a Joomla 1.6.6 website using a simple template that I installed. All the forms seemed to work fine up to the point when I needed to do some Javascript. Then the addEvent would not trigger in the page whenever I tried to change a dropdown box.

I changed the template to breez_20 which is the default Joomla template and the javascript works fine.

Any idea why this is happening? I need to be able to change the template from the default because I want to add some functionality that is not available in breez_20.

Thanks
GreyHead 19 Aug, 2011
Hi pcheng,

This is usually because the template uses jQuery without setting it into noConflict mode. This makes JQuery conflict with the standard Joomla! MooTools library.

Bob
This topic is locked and no more replies can be posted.