I seem to have stumbled on a solution.
If I remove the
value="@ViewBag.Play"
then the script is able to update the value.
But if I then enter text into the field, it's no longer able to update the value. Not sure what I'm doing wrong here.
A more complete example is in the attachment (I couldnt figure out how to escape the sample and it kept getting truncated when I pasted it in).
Attachment:
sample_ca627274.zip