How do I get the value of the checkbox (or state, checked or not 1-0) so that I can pass it to a controller?, I\'ve tried the following but it doesnt work.