document.write in IP2015
Hi All,
I have an requirement where a user logs into Siebel Application. As soon as the user logs into the application, another popup windows needs to be opened with some text displayed.
Below is the pseudo code that I have written in postload.js
if(sviewName === "Home Page View (WCC)" )
{
var sWindowFeatures = "title = LegalMessage, menubar=no, toolbar=no, location=no, resizable=yes, width=400, height=280";
var myWindow = window.open("", "MsgWindow", sWindowFeatures);
if (sLang == "ENU") {
myWindow.document.write("<html><p style="color:Blue;">Test</p><button id='Close' onclick=self.close()>Close</button></html>");
}
}
Below are a few questions:
- Is myWindow.document.write supported in IP2015 PS7?