Skip to content

Error with jQuery inclusion at top of page #57

@e-chauvet

Description

@e-chauvet

Hello,

I'm developing a quiz and I've got an error with the inclusion of jQuery. In my current web application, I included jQuery directly in the includeJS {} with a jquery.forceOnTop = 1, this was necessary for technical reasons.

Currently, I am facing a problem, from ‘fp_masterquiz/Resources/Private/Templates/Quiz
/Show.html", I get an error at “var form = $(”#quiz-form'+ceuid);", the console tells me "Uncaught TypeError: $ is not a function’.

Why does this trigger this error even though jQuery is loaded correctly at the top of the page? If I include jQuery directly in the footer, then it works.

I'm using the extension in version 3.7.1, TYPO3 in version 11.5.36 and jQuery in version 3.5.1.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions