RE: Removing print statements from cgi script



Mike Martin wrote:

: Does anyone know if its possible to remove data printed from a
: web-page created from cgi.pm depnding on the effect of a
: sub-routine.

Not from the server. It may be possible to do this with
javascript or with AJAX. Search Google for details on AJAX.

:
: ie:
:
: I print the header and a selection form which then runs a sub
: - is it posible to replace the contents without loading a new
: web-page

After you print the page, your script stops running. Each
time you submit a form you may start the script again. It is
not one continuous script, even though it sometimes appears
that way to the user.


HTH,

Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer

254 968-8328

Don't tread on my bandwidth. Trim your posts.

.



Relevant Pages

  • Re: Hiding email address from spam bots
    ... I have a question about the javascript, which is in fact the same question ... a constructed form by the script. ... As I could, for example, copy that address and paste it from that web-page ...
    (alt.html)
  • Printing without dialog in XP SP2
    ... I use the following script to print a web-page on our intranet without a ... function PagePrint() ...
    (microsoft.public.scripting.jscript)
  • Re: Printing without dialog in XP SP2
    ... > I use the following script to print a web-page on our intranet ... > function PagePrint() ...
    (microsoft.public.scripting.jscript)
  • Internet Explorer Script Error
    ... Every time I try to print from a web-page, ... mail, (I use AOL, and they said it was an IE problem) I ... An error has occurred in the script on this ... Anybody have a clue to help me? ...
    (microsoft.public.windowsxp.help_and_support)