Hello All
How can i pass Jquery variable to below HTML
please find my code i highlight red color
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomePage.master" Inherits="System.Web.Mvc.ViewPage" %>
$(document).ready(function () {
$('#ECUSubmit').hide();
});
function fnECUAdd() {
var dispid= document.getElementById("DispId");
$("#ECUSubmit").dialog({
height: 200,
width: 450,
modal: true,
title: "Confirmation",
buttons: {
"Yes": function () {
ValidationPB();
},
"No": function () {
$(this).dialog("close");
}
}
});
}
<% using (Html.BeginForm("Clone", "ECU", FormMethod.Post, new { enctype = "multipart/form-data", id = "fmECU" }))
{%>
<%: Html.ValidationSummary(true) %>
<%: "Do you want to Continue? disposition is:" + dispid %>

Manas MohapatraRank #182 · 13.2K reputationPosted Dec 10, 2015, 8:43 PM EST
Hari B129 reputationPosted Dec 10, 2015, 8:55 PM EST