House of Fusion
Home of the ColdFusion Community

Search ajax

September 30, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30         

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  Ajax

Using AJAX to make tickbox status update a DB?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 

11/07/2005 05:40 PM
Author:
Brian Gilbert

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

11/07/2005 06:56 PM
Author:
Dawson, Michael

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


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists