Jquery not working in Moodle app

Jquery not working in Moodle app

by Paola Mendiburu -
Number of replies: 1

Hi all!

I have some jquey code in a lesson page, in the moodle web version is working properly but it is not displaying in the moodle app.

Thank you for your help.


Average of ratings: -
In reply to Paola Mendiburu

Re: Jquery not working in Moodle app

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

how did you include this jquery code in the lesson?

As far as I know you can't include javascript code in lesson content, right? Or is just a global jquery rendering html elements? 

In any case, the only way to use jquery in the app would be making the lesson content to be an iframe pointing to an outside content using jquery.