D
DL
can't think straight,
How do self close the opened child window from the following code?
thank you. tried it with Firefox 3.5, didn't close the child window.
<form action="save.cfm" method="post">Your email: <input type="text"
name="email" id="email" size="30"> (optional)
<input type="button" id="sendEmail" value="Send" onclick="window.open
('save.cfm?email='+document.getElementById
('email').value,'savemail','width=150,height=150'); self.close();">
</form>
How do self close the opened child window from the following code?
thank you. tried it with Firefox 3.5, didn't close the child window.
<form action="save.cfm" method="post">Your email: <input type="text"
name="email" id="email" size="30"> (optional)
<input type="button" id="sendEmail" value="Send" onclick="window.open
('save.cfm?email='+document.getElementById
('email').value,'savemail','width=150,height=150'); self.close();">
</form>