Previously,I used the window.showModalDialog() function to popup a window:
window.showModalDialog("myHtml")
In myHtml,there are some html elements,like the textarea and two buttons.
But now the situation changed,any html file is not allowed.So I have to create the html elements dynamically in the popup window.Is it possible?
Following code works for me:
To call, use: