RE: save as you type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: 12 December 2004 05:12
> To: php-db@xxxxxxxxxxxxx
> Subject:  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
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux