Generating form with hidden input and submitting to an action
问题 I thought this would be a lot simpler than it had been. I need to extract data from a cell in my datatable (Which I can do) and then submit it via a form with a hidden field in order to pass the variable to an action in my controller. I am doing something similar to this prior in my code with the exception of generating the form. I have tried different methods and not matter what when I access the collection in my action the value is null. My View function: $('#myTable').on('click', 'td',