简体   繁体   中英

access POST values for dynamically created text boxes in MVC 3

i created some text boxes dynamically using javascript, now i want to access them in my controller. I need a way to access the values in these text boxes in my controller action.

您是否尝试给他们提供“名称”属性?

Request.Form["MyTextBox"]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM