|
Mailing Lists
|
Home /
Groups /
Ajax
Using AJAX to make tickbox status update a DB?
Author: Dawson, Michael
Short Link: http://www.houseoffusion.com/groups/ajax/thread.cfm/threadid:690#1986
I would say all you need to do is get the checked status from the
checkbox, and pass it to the server-side script. Then, to be sure, I
would query the database, or catch any errors, then return the checked
status back to the page.
If there was an error, or the DB was already set (perhaps by another
user) you can display a message.
M!ke
Is it possible using AJAX to update a database (insert or delete) based
on the status of a tickbox without having to submit the whole page/form?
I've tried to find an example using google but didn't have any luck so
far.
Thanks,
Brian
Author: Brian Gilbert
Short Link: http://www.houseoffusion.com/groups/ajax/thread.cfm/threadid:690#1985
Is it possible using AJAX to update a database (insert or delete)
based on the status of a tickbox without having to submit the whole
page/form?
I've tried to find an example using google but didn't have any luck so far.
Thanks,
Brian
|
May 16, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||