MVC2:如何传递所选复选框的数据 [英] MVC2: how to pass data of selected checkbox

查看:68
本文介绍了MVC2:如何传递所选复选框的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在视图中使用带有全选"选项和单个检查选项的复选框.如果单击复选框,则相应的电子邮件ID将转到以逗号作为分隔符的电子邮件模板.

我该怎么做呢?请帮助我,因为我是MVC的新手.

谢谢.

Hi all,

I am using a checkbox in the view with the "select all" option and individual check option. If I click the checkbox the corresponding email ids will go to an email template with commas as separators.

How do I do this? Please help me because I am new to MVC.

Thank you.

推荐答案

您可以使用JQuery将选定的电子邮件发送到电子邮件模板...


HTH
You can use JQuery to send selected emails to email template...


HTH


^ ]
尝试在这里看到,你一定会知道的,谢谢
http://stackoverflow.com/questions/2531052/how-do-i-create-a-selection-list-using-checkboxes-in-asp-net-mvc[^]
try to see here,u;ll definitely get some idea,thanks


这篇关于MVC2:如何传递所选复选框的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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