Forums

jQuery problem when Chronoms form is loaded

jj135 08 Dec, 2014
Hi!

I have a jquery script that appends a div to list menu items. The div is used to show an icon.

This jQuery script works fine on all pages accept on the page where a CF form is loaded. Then the div for the icon is not added.

I guess there is some script conflict? How do I debug this?

In firebug I do get two erros only on the form page:

ReferenceError: jQuery is not defined.

Kind regards,
Jip.
jj135 09 Dec, 2014
Answer
I solved this by adding this to my template:

JHtml::_('jquery.framework');

Not sure why, but it works ;-)
This topic is locked and no more replies can be posted.