Forum Moderators: open

Message Too Old, No Replies

Window.Open Question

Display text instead of a url?

         

julep821

7:53 pm on Nov 4, 2004 (gmt 0)

10+ Year Member



I know that window.open is used to pop open a url in another window, and that attributes can be applied to create various effects.

My question is, can you place text in the url portion of the script and display it?

What I have is a pl/sql report that selects columns from a table. I have a notes field that I would like to display in a new window since it could contain many characters that will ultimately mess up the layout of my table.

adni18

9:42 pm on Nov 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this:


<script language=javascript type="text/javascript">
newwin=window.open("about:blank","Report");
newwin.document.write("Your text here");
</script>