Reply to Re: Dirty Form Error Trapping?

Your name:

Reply:


Posted by Jerry Stuckle on 10/23/07 13:11

Captain Paralytic wrote:
> On 22 Oct, 20:48, The Natural Philosopher <a...@b.c> wrote:
>> Fester Bestertester wrote:
>>> Greetings,
>>> I'm an occasional php/mysql dabbler.
>>> I have a basic data form with a submit button. Unfortunately, it's still
>>> possible for the user to enter data changes and close the window,
>>> without clicking the submit button, thus losing the data.
>>> Can someone point me to a generic example of some code that will trap
>>> and handle this error?
>> Only way is via javascript.
>>
>> Something like "onunload submit".
>
> Some sites (Google Groups and the BBC Radio Player are examples), will
> pop up a javasript cofirmation dialogue if you try to leave the page
> having already typed information in (in thecase of Google Groups), or
> have selected a radio programme to listen to (in he case of the BBC
> Radio Player).
>
>

Which can be very annoying if you have javascript enabled.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация