Hi All,
I want to know how javascript is implemented in canvas lms?
I have written my own js and I want to apply it to quizzes/take_quiz.html.erb.
I try to include it using <%= javascript_include_tag %> at the top of page. But, it does not recognize '$'. Basically, my javascript is applying before jquery apply on page.
Where should I put my js file? From where it maintain the sequence to load javascript?
Overall, how it work? Can anyone tell in details?
Thanks in advance.