RE: [PHP-DB] save as you type
| From: | Peter Lovatt | Date: | Sun, 12 Dec 2004 09:48:33 +0000 |
| Subject: | RE: [PHP-DB] save as you type | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37673@lists.php.net to get a copy of this message | ||
You could use JavaScript
<form action="somescript.php" name="dataform" id="dataform">
<textarea cols="30" rows="5" name="data_text"
onBlur="dataform.submit()"></textarea>
</form>
onblur executes when the user leaves the box, and will submit the form
HTH
Peter
> -----Original Message-----
> From: Matthew Perry [mailto:matt@sweetwaterpoolsinc.com]
> Sent: 12 December 2004 05:12
> To: php-db@lists.php.net
> Subject: [PHP-DB] save as you type
>
>
> Is there a way to make an input box save data into a database as users
> type? My users keep forgetting to press my "apply changes" buttons.
> Matthew
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>