problem with simple dynamic dropdown

faitas 26 Oct, 2014
I am having a problem with a simple dynamic dropdown selection.
It used to work fine with j1.5 and when moved it to the j.2.5 it stopped.
is it using javascript ?
In console I see the following messege which I do not know if it is relevant or not.

Resource interpreted as Script but transferred with MIME type text/html: /components/com_chronoforms/js/load_js.php?code=…

thanks.

PS I check and tripple checked the relevant FAQ with no luck!
GreyHead 27 Oct, 2014
Hi faitas,

Yes, it is using JavaScript. Please post a link to the form so I can take a quick look.

Bob
faitas 27 Oct, 2014
http://www.solarnetworks.eu/en/grid-pv-system.html

this is it, on the right tab.
GreyHead 27 Oct, 2014
Answer
1 Likes
Hi faitas,

You have several JavaScript errors on the page that are breaking the dynamic drop-down. I think that most of them are because your template is loading a JQuery library without putting it into no conflict mode :-(

Please see this FAQ for a bit more information.

Bob
faitas 27 Oct, 2014
thanks. fixed it. lightbulb
I knew something like that was the reason, but I did not know how to verify and fixed it?

can you please tell me how I can find the the js conflicts? [maybe irrelevant to this forum but relevant to the general interest]
GreyHead 27 Oct, 2014
Hi faitas,

Use your browser web developer tools. Usually you can access these from F12 - I use Chrome mostly but all the latest browsers have quite good tool sets. With the web developer tools open there is usually a Console tab that will show you any errors or warnings and let you link to the code where they are showing up.

Bob
faitas 27 Oct, 2014
ok. maybe is more than that because I always try to use this tool but never understand what is going on. 😲 so I am in the right truck and need to find out more about this.

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