Write HTML in inappbrowser

Hi, I am not able to write html document in inappbrowser. I have used multiple ways to make it work like,
here, newOrder is html document.
window = this.iab.create(“about:blank”, “_blank”, options);

windteSow.executeScript({ code: ‘document.write(’ + newOrder + ‘);’ });
window.executeScript({ file: ‘./newOrder.js’ });
window.execucript({ file: ‘(function() { document.write(’ + newOrder + ‘); })()’ });

Please let me know if any one has faced same issue or have solved this kind of issue.