View Single Post
Join Date: Jan 2009
Posts: 9
Reputation: Kostas Theof is an unknown quantity at this point 
Solved Threads: 0
Kostas Theof Kostas Theof is offline Offline
Newbie Poster

Re: Execute external files via event handlers

 
0
  #3
Jan 4th, 2009
Unfortunately none of the window.open method and the AJAX object XMLHttpRequest worked as I expected.
The first didn't pass any html variables to the php file and also did a refresh to the html page.
The second did not execute the php file possibly because it just opens it as a text reader. It also did a refresh to the html page.

The ideal would be in the
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <FORM method="post" action="http://localhost/phpfile1.php?param1=5&param2=0" >
to add an attribute that would tell the web browser to run this file in the background.
There is the target attribute that tells the browser the target window where the action file will output.

I still cannot find a way to run the action in the background.

Does anyone have any suggestions?
I really need to fix that.
Reply With Quote