You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

GetHtmlText doesnt impose the HTML effect

1 reply [Last post]
Guest's picture
Guest

I am trying to open up a pop up window through HTML (Java script). I have created the HTML object with the desired code which work perfectly in the IE. when I try to integrate the same with PeopleSoft it didnt work.
a html variable will hold the HTML.

%response.write(<html variable>);

Any restrictions in PeopleSoft for this?

Also If I specify the HTML straight away like

%response.write("<html>");
%response.write("alert(hi')");
%response.write("<\html>");

it works perfectly. I am unable to understand the PeopleSoft behavior with respect to this context.

guru's picture
guru (not verified)
Re: GetHtmlText doesnt impose the HTML effect

%response.write is used for server side scripting while ps uses client side scripting. Try using js rather than what you used.