On 8/9/07, Rusty Keele <[EMAIL PROTECTED]> wrote:
> Hi,
>             This isn't strictly PHP related - but I am hoping someone
> can help me.  I am creating an HTML submission form where a message is
> displayed after the form is submitted.  In Firefox 2.0.0.6 every time I
> view the source the page re-posts as it generates the source code.  I
> would like to just view the current source code with doing another post
> - anyone know how I can change this behavior?
>

the answer is firebug. install it, never look back.

"view source" makes a new page request every time you do it. it's the
default behavior, and as far as i know, only possible behavior. you
can also reload the source (F5/Ctrl+R) without messing with the
browser page--i do this when i'm fiddling with things that'll change
the source, but won't actually change the rendered page.

this doesn't actually solve your problem, but i've got a related
thought: one thing i've seen sites do recently (especially 2.0/ajaxey
ones) is to do a quick redirect after a successful form submission, so
that the "thanks" page counts as a brand new page request that isn't
associated with a POST. prevents accidental double posts, keeps the
user from dealing with the "you're about to resubmit a form" dialog,
lets you refresh the page. it seems like a win-win situation. any
thoughts on this?

justin
-- 
http://justinhileman.com

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to