使用JavaScript或JQuery在MVC中进行动态控制 [英] Dynamic controls in MVC using JavaScript or JQuery

查看:60
本文介绍了使用JavaScript或JQuery在MVC中进行动态控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个下拉列表和两个按钮添加和删除。现在我要做的是每次我点击添加按钮时会出现一个新的下拉列表,每次我点击删除一个下拉列表应该会消失..但是第一个将在那里作为
always.i必须在MVC 3中执行。

i have a Drop down list and two buttons add and remove .Now what i have to do is each time i click the add button a new drop downlist will be appear and each time i click remove one drop down list should be disappear..But the first one would be there as always.i have to do it in MVC 3.

推荐答案

你好Swapnadip,

Hello Swapnadip,

感谢您的帖子。但是,我很抱歉,这不是您解决问题的正确论坛。请在ASP.NET MVC论坛上重新打开一个新案例:

Thanks for your post. However, I am sorry that it is not the correct forum for you to resolve your issue. Please re-open one new case on the ASP.NET MVC forum here:

http://forums.asp.net/1146.aspx/1?MVC

谢谢。


这篇关于使用JavaScript或JQuery在MVC中进行动态控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆