INCLUDE .JS IN HTML EDITOR?

INCLUDE .JS IN HTML EDITOR?

by Carlos Zurera Andrés -
Number of replies: 3

Hi guys!


Im totally desperate so... I will be totally grateful if anyone can help me... I read a lot about this topic but I can't solve it:


I have an HTML code that works with jquery-1.7.2.min.js and other file main.js.

So Im trying to use it adding a HTML block but jquery and the other file it is not working I think.

Can I use this files using the HTML editor? I want to do this with the editor because it will be easier for me instead adding a block from scratch.

Average of ratings: -
In reply to Carlos Zurera Andrés

Re: INCLUDE .JS IN HTML EDITOR?

by Chris Wharton -

Hi Carlos, the HTML editor automatically removes Javascript as a security measure. You will probably need to build a custom block. 

In reply to Chris Wharton

Re: INCLUDE .JS IN HTML EDITOR?

by Carlos Zurera Andrés -

thanks for your answer Chris, finally I decided to do a custom block. Im trying to do it... smile