I am trying to get my checkbox to submit the form it is in using the code below:
@ Html.CheckBox ("Finished", new {onclick = "$ (this) .parent ('form: first'). Submit ();"})
It saves the rendering of the "around" form: first, "how html encodes the values." Any ideas how to fix this?
thanks
Nick
source share