我认为,我处理一个小标题的倒数名单。 我需要知道如何把减少的选定项目送交控制人员,因为我需要这一信息来采取具体的行动,谁能帮助我?
Here s the javascript code I tried, but it doesn t work:
$("#BtnPassType").click(function () {
var formData = $("#displaydropdown option:selected").val();
$.post("/EquipodeRed/Prueba/", { tipo: formData },
function (data) {
alert(data.toString());
}, "text");
});
Here s the HTML code of the button:
<input type="button" id="BtnPassType" value="Send Type" />
And here s the Controller Code
public String Prueba(string tipo)
{
string ubic = "Esta es la Ubicacion del equipo de tipo :";
return ubic + tipo;
}
I appreciate some help, thanks in advance. Regards.