Menu
Hello,
I have a form in which there are two buttons,
input type of button1 is Submit and button2 is button.
<form name=”myForm” method=”post” action=”two.jsp”>
<input type=”submit” name=”btn1″ value=”Test1″>
<input type=”button” name=”btn2″ value=”Test2″>
</form>
I am calling a javascript on click of button2.
<script type=”text/javascript”>
function jump(){
myForm.action =”one.jsp”;
myForm.target = “_blank”;
myForm.submit();
}
</script>
After closing the popup window which is opened against button2, if I click button1 then it will open the same popup window.
Please help in fixing this issue.
Thank you