asp.net mvc - How to bind jQuery to model -


apologies newbie question that's not phrased well.

i trying work example:

http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/jquery-ui-autocomplete-with-json-in-mvc-4/

it uses enter country name @html.textbox("country") select country name, , can populate this, can't figure out how bind model textboxfor can post data controller.

you can try using formcollection form in action. using formcollection can access form elements in controller. have modify code, have add form view. provide name property country textbox.


Comments