OceanReefClub
asked on
How to make ColdFusion checkboxes do partial post back write to SQL when clicked (OnClick)?
I have an HTML table of several dozen recurring rows. In the 1st column of every row is a checkbox (fieldname="status", indicating Active or Inactive record).
When the user clicks that checkbox, I want to immediately (OnClick) send data to a ColdFusion action page (probably via hidden iFrame) to update the SQL database with the new status of that particular checkbox (now CHECKED or UNCHECKED). i.e., partial post back.
in other words, I don't want the user to have to check lots of checkboxes, then click a single Submit button to post them all en masse.
i think this guy has the right idea somehow, but i couldn't make his examples work: http://answers.google.com/answers/threadview?id=391498
I don't know javascript, except how to cut / paste it into HTML, but I can do any CF code work needed.
Running CF7 with IIS6 / Win2k3SvrStdSP1
thanks much!
Jonathan
When the user clicks that checkbox, I want to immediately (OnClick) send data to a ColdFusion action page (probably via hidden iFrame) to update the SQL database with the new status of that particular checkbox (now CHECKED or UNCHECKED). i.e., partial post back.
in other words, I don't want the user to have to check lots of checkboxes, then click a single Submit button to post them all en masse.
i think this guy has the right idea somehow, but i couldn't make his examples work: http://answers.google.com/answers/threadview?id=391498
I don't know javascript, except how to cut / paste it into HTML, but I can do any CF code work needed.
Running CF7 with IIS6 / Win2k3SvrStdSP1
thanks much!
Jonathan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.