winbox
winbox copied to clipboard
Scripts in html content of winbox are ignored
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?