{"action":"reopened","issue":{"url":"https://api.github.com/repos/miguelgrinberg/flasky/issues/69","labels_url":"https://api.github.com/repos/miguelgrinberg/flasky/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/miguelgrinberg/flasky/issues/69/comments","events_url":"https://api.github.com/repos/miguelgrinberg/flasky/issues/69/events","html_url":"https://github.com/miguelgrinberg/flasky/issues/69","id":105455159,"number":69,"title":"perform an action when checkbox value changes","user":{"login":"alybel","id":7398719,"avatar_url":"https://avatars.githubusercontent.com/u/7398719?v=3","gravatar_id":"","url":"https://api.github.com/users/alybel","html_url":"https://github.com/alybel","followers_url":"https://api.github.com/users/alybel/followers","following_url":"https://api.github.com/users/alybel/following{/other_user}","gists_url":"https://api.github.com/users/alybel/gists{/gist_id}","starred_url":"https://api.github.com/users/alybel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alybel/subscriptions","organizations_url":"https://api.github.com/users/alybel/orgs","repos_url":"https://api.github.com/users/alybel/repos","events_url":"https://api.github.com/users/alybel/events{/privacy}","received_events_url":"https://api.github.com/users/alybel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miguelgrinberg/flasky/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T19:41:43Z","updated_at":"2015-09-09T13:20:15Z","closed_at":null,"body":"Like with submitting forms through the submit button, I would like to trigger an action when changing the value of a checkbox (by clicking on it). My final goal is to have this value change reflected in a mysql database on a per-user basis. \r\n\r\nWhat I found so far involves a lot of javascript and I was wondering if there is not a more pure-python / pure-flask way of achieving this. \r\n\r\nany help is highly appreciated."}}