0

I'm using a dropdownlistfor that populates some data from the database, the idea is that i want that the default value of the dropdown, has to be editable.

So the user can submit one of the options that are populated from the database, or the default one modified

How can i make this?

4

1 回答 1

0

您可以在第一个值上使用 onclick 事件,该事件触发带有文本字段的 jquery 弹出窗口,该文本字段可以在提交时重写您的下拉列表的第一个值。

于 2012-07-20T13:07:48.863 回答