jsp pop up problem
[nobr]Hi all
Maybe here is wrong place to ask this question but I cannot find solution or better place to ask this, sorry.
I have two jsp say A.jsp and B.jsp
A.jsp consists a textarea and two buttons. One button submit to trigger a
servlet and another one pop up a window and trigger B.jsp at the same
time.
<form name="editor" method="post" action="servlet/WriteTemplate">
<div>
<textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%;
height: 200px">
<%=getContent()%>
</textarea>
</div>
<br />
<input type="Submit" value="Submit" />
<input type=button value="submit2" onclick="this.form.action='B.jsp';this.form.target='_Blank';this.form.submit();">
But it cannot alter the feature (e.g width, menubar) of popup windows. Replace with
<input type=button value="Preview" onclick="openTarget(this,'width=300,height=300,resizable=1,scrollbars=1'); return true;"target="newpopup"">
Window feature can be configure but the value of textarea cannot be pass into B.jsp. Is it possible to do such action? Please comment, thanks.[/nobr]

