Skip to content

Scripts in html content of winbox are ignored #178

@nightrider77

Description

@nightrider77

I am getting data ( html + script type="text/javascript" inside it) with ajax request.
After this, I create window as the following:

new WinBox( { html: data } );

But all JavaScript code, passed within data parameter, is completely ignored. But html shows correctly.

Why?

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