Display one the popup
I am opening a new window(Popup) when click on the submit button. My question is, is there any way I can open the popup in the first time itself and the submit button on the popup? it is a JSP page. I need the whole thing in the new window.
<%@ taglib uri="tagLib" prefix="hbj" %>
<jsp:useBean id="contactSearchBean" scope="request" class="SearchBean" />
<hbj:content id="myContext" >
<hbj:page title="Initial Page">
<hbj:form>
<hbj:gridLayout>
<hbj:gridLayoutCell rowIndex="1" columnIndex="1">
<table>
<td>
<hbj:label
id="lblSearchTerm"
required="FALSE"
text="Enter Subject of Interest"
design="LABEL"
labelFor="inptSearchTerm"
/>
/>
. button
onClientClick="window.open('com.Search','newwindow','resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,directories=yes,menubar=yes,copyhistory=yes,width=800,height=600')"
.
.
.
.
Is there any way some body can help me.