winbox icon indicating copy to clipboard operation
winbox copied to clipboard

Scripts in html content of winbox are ignored

Open nightrider77 opened this issue 2 months ago • 1 comments

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?

nightrider77 avatar Apr 15 '24 15:04 nightrider77