Hello,
I have the following form declaration:
<form METHOD="POST" action"inven.asp" id="inventory" name="inventory" onSubmit="checkWindow();" target="report">
What I want checkWindow() to check if the target window has already been opened, which means the submit button has already been pushed, and then close that window (I know that the window will just get created again, but I need the window to close before submitting again).
However, I'm not sure how to check if the window's open.
Can someone help?
Thanks!
Earme
I have the following form declaration:
<form METHOD="POST" action"inven.asp" id="inventory" name="inventory" onSubmit="checkWindow();" target="report">
What I want checkWindow() to check if the target window has already been opened, which means the submit button has already been pushed, and then close that window (I know that the window will just get created again, but I need the window to close before submitting again).
However, I'm not sure how to check if the window's open.
Can someone help?
Thanks!
Earme