Hi, i’ve a little problem:
i must to make an html page that contains a form and two button: the first forword to next form; the second one must to open a new popup-window.
In a popup there are some text field and one button that must to close the popup.
Here the example code:
– Index page:
<form>
…
<div align=”left”>
<INPUT TYPE=”button” VALUE=”prompt” onClick=”window.open(‘popup.html’,’menubar=no,status=no,location=no’)”>
</div>
-popup.html:
<form>
…
<td>
<input type=”text”name=”consu”/>
</td>
<div align=”center”>
<input type=”submit” value=”confirm” ??? ></div>
</form>
Questions:
-once the popup is opend i want to click on “confirm” to close the popup (parameters in ???), how can i do?
-i need to capture the parameters insert into popup text field and send them to a separate javabean to store in a file (so with jsp getParameter()). How can i do?
thanks a lot