本文介绍了使用ajax选择下拉菜单选项时,如何更改页面部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的下拉菜单的html编码:
This is my html coding for dropdown menu:
@ Html.DropDownList(dropdownval,new [] {new SelectListItem {Text =CONSULTING-PARTNERS,Value [email protected](/ partners / consulting-partners /)},
新的SelectListItem {Text =TRAINING-PARTNERS,Value = @ Url.Action(/ partners / training-partners)},
new SelectListItem {Text =TECHNOLOGY-PARTNERS,Value = @ Url.Action(/ partners / technology-partners)}},new {@class =partners-dropdown})
@Html.DropDownList("dropdownval", new[]{new SelectListItem { Text = "CONSULTING-PARTNERS", [email protected]("/partners/consulting-partners/") },
new SelectListItem { Text = "TRAINING-PARTNERS", [email protected]("/partners/training-partners") },
new SelectListItem { Text = "TECHNOLOGY-PARTNERS", [email protected]("/partners/technology-partners") }}, new { @class = "partners-dropdown"})
在这里我要更新内容:
and here i want to update the content:
推荐答案
这篇关于使用ajax选择下拉菜单选项时,如何更改页面部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!