![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Does anyone know how to open a window and have it close by itself? You may ask why, but here it is. I want to have it open (a php script), run that script, and then close itself. I have an application that is a huge AJAX framework app. There appears to be some interaction between that and the mail sending software I have. I want to send email with a file attached. The software I am using for that is htmlMimeMail5 (php5). Since I know the parameters, I simply want to run that php script outside of AJAX, but I don't want to leave open windows. A quick blast open, send, close is OK. I know that window.open opens the window and window.close closes it. |
#3
| |||
| |||
|
|
Does anyone know how to open a window and have it close by itself? You may ask why, but here it is. I want to have it open (a php script), run that script, and then close itself. |
#4
| ||||
| ||||
|
|
Does anyone know how to open a window and have it close by itself? |
|
You may ask why |
|
I have an application that is a huge AJAX framework app. |
|
There appears... |
#5
| |||
| |||
|
|
sheldonlg wrote on 11 jun 2008 in comp.lang.javascript: Does anyone know how to open a window and have it close by itself? You may ask why, but here it is. I want to have it open (a php script), run that script, and then close itself. I have an application that is a huge AJAX framework app. There appears to be some interaction between that and the mail sending software I have. I want to send email with a file attached. The software I am using for that is htmlMimeMail5 (php5). Since I know the parameters, I simply want to run that php script outside of AJAX, but I don't want to leave open windows. A quick blast open, send, close is OK. I know that window.open opens the window and window.close closes it. Why would you want a window? You do not need any window to run a server script. http://www.jibbering.com/faq/#FAQ4_34 |
#6
| |||
| |||
|
|
On Jun 11, 3:18 pm, sheldonlg <sheldonlg> wrote: Does anyone know how to open a window and have it close by itself? Well just pull like hell and check to make sure that it was not painted shut to get it open. The closing by itself part can usually be achieved with a little grease or WD40 on the pullies. You may ask why Nope, I really don't give a shit why you want to do this, but I guess your going to tell me anyway... I have an application that is a huge AJAX framework app. Well you obviously didn't write it yourself or you would already know the answer to your very basic question. There appears... Ok, I've lost interest again... Oh yea, why not google ajax send mail php and see if you don't get your answer. |
#7
| |||
| |||
|
|
sheldonlg wrote: Does anyone know how to open a window and have it close by itself? You may ask why, but here it is. I want to have it open (a php script), run that script, and then close itself. Let's say you have a window A. It could execute a script to open window B which is pointing at your PHP script. Once that PHP script is complete, it can serve a simple HTML page, which includes a Javascript script to close itself. But, that means that you have 2 windows, running 2 separate scripts. Not a very elegant solution. This task seems perfectly suited to AJAX. I'm surprised that you're having 'interaction' issues between your AJAX framework and a back-end PHP script. It seems more likely that your AJAX framework is simply not sending all the relevant detail to the PHP script... |
#8
| |||
| |||
|
|
Ok, I've lost interest again... Oh yea, why not google ajax send mail php and see if you don't get your answer. Thanks for nothing. BTW: |
#9
| |||
| |||
|
|
On Jun 11, 8:16 pm, sheldonlg <sheldonlg> wrote: Ok, I've lost interest again... Oh yea, why not google ajax send mail php and see if you don't get your answer. Thanks for nothing. BTW: Whine... whine... whine... Does your pussy hurt too? |
#10
| |||
| |||
|
|
Ok, I've lost interest again... Oh yea, why not google ajax send mail php and see if you don't get your answer. Thanks for nothing. BTW: Whine... whine... whine... Does your pussy hurt too? Gee, I don't know. When was the last time you checked yourself? |
![]() |
| Thread Tools | |
| Display Modes | |
| |