Skip to content

Javascript start with InnerHTML #3

@EvoWebFrance

Description

@EvoWebFrance

Hello,
My case is not simple : all HTML contents made by CKEditor are inserted in a DIV using "innerHTML" after beeing stored in sessionStorage of the browser (special application for a customer). But in this case, all inline javascript never starts and I have no animations.
My solution : add a javascript code on a "onLoad" event over a little image to start JS. Here is my question : is it possible start JS animation by calling a named function ? (I can add the file "prefixfree.min.js" in the head part of the page)

Thank you for your help

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