On 31 Mar 2001 20:33:56 -0800, LDL Enterprise <[EMAIL PROTECTED]>
wrote:
>       Could someone please give me a clue. I have a <input type=text> form
>       that pulls the quantity from a mysql database. I want the user to be
>       able to update the quatity by just entering the new quantity and when
>       they unfocus on the text box it will automatically update without
>       pressing a submit button.

You could use JavaScript to have the form submit OnBlur, but that's going to be
pretty slow and annoying - consider what would happen if the user is entering
several fields and clicks on another field, intending to come back and change
it...

What effect are you trying to achieve? Just reducing the number of clicks
needed to submit a form? If so, some browers will submit the form when you hit
the enter key while in a text field, which might have the effect you're looking
for without requiring any coding.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to