httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From User 1001 <supraexpr...@globaleyes.net>
Subject [users@httpd] Re: Prevent new page
Date Thu, 06 Dec 2007 08:38:04 GMT
Boyle Owen wrote:
>> -----Original Message-----
>> From: news [mailto:news@ger.gmane.org] On Behalf Of User 1001
>> Sent: Wednesday, December 05, 2007 8:38 AM
>> To: users@httpd.apache.org
>> Subject: [users@httpd] Re: Prevent new page
>>
>>
>> Whilst I wait to test your suggestion (thanks), where or what would be
>> more apropos for asking questions about [web] "page design" questions
> 
> Your orginal post said:
> 
>>> One web page with a form invokes a PHP script which in turn invokes a
>>> Javascript popup. 
> 
> So I would look for a PHP forum and/or a Javascript forum.
> 
> As I said before, if the page is clearing, you must either be 1)
> submitting back to the server which responds with an empty page or 2)
> telling the page to clear via JS. You first have to decide whether it's
> PHP or JS that is causing the problem... TIP: switch off JS in the
> browser and see if it persists.

The actual "problem" is the popup window Javascript script being written
 back to the Web client which forces a new web page to be created, which
forces the previous web page to "clear". This scenario does not use
Javascript embedded in the original HTML form to create the popup. It
merely passes all data to the "method script" which in turn opens up a
new window for the popups. When looking at the source view of the
original page after the popups appear, the Javascript script is all that
is in it, which is correct. I am trying to NOT have to rewrite the
entire original page in conjunction with writing out the popup
Javascript script, but don't see any other way to create a popup without
forcing a new web page. I have looked a little at DHTML, but can't see
(yet) a way to use it to refresh the original page with a popup
displayed. I don't want to reset the original page as most of the form
information can, and may be, reused.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message