Please I need help. I am new to programming. I have an HTML form. How can I submit it to a new window with JavaScript by writing the form data to the window and setting the window's properties such as with and height? This is my code for the form:
<form method="post" enctype="multipart/form-data" name="myform" target="_top">
<fieldset>
<span class="style2">
<label for="name"><strong>Name: </strong></label>
</span>
<input type="text" name="name" id="name" value="" />
<label for="age"><br />
<br />
<span class="style1">Age: </span></label>
<input type="text" name="age" id="age" value="" />
<br />
<br />
<a href="javascript:void(0)" onclick="open_win()" >Dynamic submission </a>
<br />
</fieldset></form>