Some times we may need to submit HTML form to a pop up window. Let’s take a look into the details.
Say for I have a HTML form.
We may submit this form to a blank window by setting target=”_blank”, but when we need to submit the form to a pop up window then we should do some extra code. Let’s try.
window.open(url, wname, “height=” + height + “,width=” + width + “location = 0, status = 1, resizable = 0, scrollbars=1, toolbar = 0”);
Step two: Setting the form attributes
Now we set the form attributes like bellow