Does Javascript works with HTML templates ?

Post Reply
loicaigon
Advanced member
Posts: 363
Joined: Wed Jul 10, 2013 10:22 am

Does Javascript works with HTML templates ?

Post by loicaigon »

Hi all,

I tried using a local a/o external html page that includes javascript (basic and jquery). I can get it to work as standalone html page but all the javascript seems inactive once it's loaded inside Connect ALL.

I can't find any reference to using javascript with connect so I guess it's a deadend ?

Can anyone confirm ?

TIA

Loic
Michael Reiher

Re: Does Javascript works with HTML templates ?

Post by Michael Reiher »

Let me see if I can get you some help on this... it should work. More to come.
freddyp
Advanced member
Posts: 1008
Joined: Thu Feb 09, 2012 3:53 pm

Re: Does Javascript works with HTML templates ?

Post by freddyp »

No, I cannot confirm. I have already used an external HTML page in Connect ALL that calls JQuery and other pieces of Javascript without any problems.

There is nothing in the design of how HTML job tickets work in CA that could explain this, so we have to look for other explanations. Just stabbing at something here: the HTML engine that is used by CA (QT) might not support a certain JS call or construct, a firewall blocks downloading code for JQuery (but then you would also have that problem with the standalone HTML), ...?

Freddy
loicaigon
Advanced member
Posts: 363
Joined: Wed Jul 10, 2013 10:22 am

Re: Does Javascript works with HTML templates ?

Post by loicaigon »

Hello,

Thanks for your care. I understood what's wrong.

JS works indeed. I can use JQuery to master how the form is built.
What doesn't work apparently are drag/drop events. They are not fired at all.

Unless I am wrong ?
FWIW,

Loic
Post Reply