Re: [newbie] How to avoid FFox's "The page you are trying to view..."?



..oO(no@xxxxxxxxxx)

AFAIK, there is no way to process POST data without the message coming
up on a refresh because it is a function of the browsers (include
Opera and IE in the list) and not of the script. So, in that case you
just have to write your script to work around it :o)

A server-side redirect with header() to the same page after processing
the form data prevents the message.

Micha
.



Relevant Pages

  • Re: Javascript form help
    ... which scripting language should be used to interpret the intrinsic event ... browsers default to interpreting intrinsic event attributes as JScript ... will guarantee otherwise avoidable script failure in some environments; ... interpreting HTML documents, ignoring the slash instead, but that does ...
    (comp.lang.javascript)
  • Re: Legacy code/browser compatibility
    ... a user of such an ancient browsers may see a syntax error ... either script supported or not. ... browsers, script will be supported. ... that doesn't support object literals ...
    (comp.lang.javascript)
  • Re: Javascript Library
    ... The test page that shows what browsers support what methods? ... The test for innerHTML script execution is as simple as: ... innerHTML assignment as I use a wrapper for setting or appending HTML ...
    (comp.lang.javascript)
  • Re: Absolute element offsets--exercise in futility
    ...  No test to see if root is defined. ... The style property should available in the browsers they support. ... it is dynamic script injection. ... Why these support.* properties are exposed for others to infer God ...
    (comp.lang.javascript)
  • Re: Javascript error message using tags
    ... And the most reliable way to know if script is enabled is for script to tell you. ... based on the absence of an error (in this case the error being javascript disabled). ... The only way to know if that feature is available is to test for it. ... browsers I have, but I wanted to know how the browsers out there react. ...
    (comp.lang.javascript)