To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publish.htmlOpen lugnet.publish.html in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / HTML / 309
308  |  310
Subject: 
Re: Disabling HTML form button if any changes made to an edit box?
Newsgroups: 
lugnet.publish.html
Date: 
Mon, 2 Jun 2003 23:42:59 GMT
Viewed: 
2344 times
  
"Todd Lehman" <todd@lugnet.com> writes:
In lugnet.publish.html, Brian H. Nielsen wrote:
You don't even need the CRC.  Do what you said on the message edit page about
combining post & preview so that there is only preview, but then on the Message
Preview page remove the whole lower section containing the message edit box,
preview and post buttons.  If the user sees something they need to change they
should use their browser's Back button.  I do it all the time in IE.

Except that relying on the browser's Back button is asking for trouble.
Say you edit a reply, look at the preview, then go do something else, and
when you return, the page is gone from your browser's cache.  That would be
a nasty surprise.

Yes, you don't want to use the browser's Back button.  But you can
easily add an "Edit" button to the preview page, which takes you back
to an edit page with the changes intact.

I've also seen Mozilla do some really weird things with the Back button on
forms, for example putting up the following message box even when the page
should still be in the cache:

Yes, and Mozilla doesn't preserve the contents of each frame when you
exit a frameset, so if you hit the Back button the forms in the frame
are empty.  That's the bug that bugs me :-) I saw it in Bugzilla a
while back and it is apparently Not Easy to fix.

--Bill.

--
William R Ward            bill@wards.net          http://www.wards.net/~bill/
-----------------------------------------------------------------------------
"A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines."        - Emerson



Message is in Reply To:
  Re: Disabling HTML form button if any changes made to an edit box?
 
(...) Except that relying on the browser's Back button is asking for trouble. Say you edit a reply, look at the preview, then go do something else, and when you return, the page is gone from your browser's cache. That would be a nasty surprise. I've (...) (21 years ago, 2-Jun-03, to lugnet.publish.html)

19 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR