I have a form that will post it's contents to a jsp (print.jsp)...but I want this jsp to open in a new window...how can I do this ???
<code>
<form name="frm_print_des" method="post" action= "<%= support.sTag("/services/print.jsp"
%>" >
<a cursor="hand" href="javascript:SubmitForm('frm_print_des');" onMouseOut="self.status='';return true;"><img src="../images/print.gif" ></a>
Then the submitForm function does the following..
function SubmitForm(sForm){document.forms[sForm].submit();
}
<code>
<form name="frm_print_des" method="post" action= "<%= support.sTag("/services/print.jsp"
<a cursor="hand" href="javascript:SubmitForm('frm_print_des');" onMouseOut="self.status='';return true;"><img src="../images/print.gif" ></a>
Then the submitForm function does the following..
function SubmitForm(sForm){document.forms[sForm].submit();
}