Toggle Component jquery - Update database upon value change
I have a question...
I'm using a toggle component in jquery to show the boolean value from a database. That's working fine.
What I want is, when user clicks on the 'toggle', I want the database value to be updated live.
The problem is, I'm not sure how to go about this.
Basically what I want is :