|
-
Apr 4th, 2006, 11:02 AM
#1
Thread Starter
Fanatic Member
Using AJAX, can I save form info to db on event onLostFocus?
Hi!
I am designing a PHP/MySQL app to edit Plant information. My boss would like the app to automatically save as the user exits the textbox or change anything in the form (no need for a submit then) is this something possible with ajax??
-
Apr 4th, 2006, 11:20 AM
#2
Re: Using AJAX, can I save form info to db on event onLostFocus?
It is possible, but don't get rid of the submit buttton. Not all users will have Javascript enabled. Also, a form without a submit button will be a bit disconcerting for the users.
-
Apr 4th, 2006, 12:39 PM
#3
Thread Starter
Fanatic Member
Re: Using AJAX, can I save form info to db on event onLostFocus?
indeed, that's a fact, really disconcerting.
as for the disabled javascript, this means AJAX wouldn't be working at all in that case? is there any way to force it? or anything?
BTW, I found NAJAX class on PHPClasses.org that allows to call PHP function on javascript event, exactly what I meant.. thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|