| | Re: Disabling HTML form button if any changes made to an edit box?
|
|
(...) 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 (...) (21 years ago, 2-Jun-03, to lugnet.publish.html)
|
|
| | Re: Disabling HTML form button if any changes made to an edit box?
|
|
(...) Sounds great in theory, and I think the CRC is a great fallback check if JS isn't available, and I like that the CRC method is forgiving of undone changes... But if there were only one button, what would you label it? "Preview or Post"? One (...) (21 years ago, 2-Jun-03, to lugnet.publish.html)
|
|
| | Re: Disabling HTML form button if any changes made to an edit box?
|
|
(...) why use JS? just combine the post and preview button to one, and detect on the server if the data was changed. If it was, preview, if it wasn't (matches a CRC in a hidden form element), it posts. (21 years ago, 2-Jun-03, to lugnet.publish.html)
|
|
| | Re: New Gear Boxes and Motor Systems
|
|
Thanks, Todd (...) Actually I didn't noticed I was in FTX mode... BTW, could it be possible to keep a cookie with personnal preference about FTX ? While it can be very useful, I'd prefer to default to plain text for most ordinary messages ! (...) I (...) (21 years ago, 2-Jun-03, to lugnet.technic, lugnet.publish)
|
|
| | Disabling HTML form button if any changes made to an edit box?
|
|
This must be easy with JavaScript, right?-- I'd like to disable a submit button (turn it gray out and non-clickable) in an HTML form if the user changes any data in an editable text field within the form. The editable text fields are of type <INPUT (...) (21 years ago, 2-Jun-03, to lugnet.publish.html, FTX)
|