padmapriya patruni

padmapriya patruni

  • NA
  • 74
  • 117.9k

javascript problem

Dec 7 2015 4:46 AM
hi i have one problem regarding getting value plz help me
 
this is my code
 
here Empid is my parameter i need pass this parameter to url action. if i pass Empid it is showing does not exist
 
plz help me
 
 
 function displayPopup(EmpId) {
alert(EmpId);
$('#EmpProjAllocPopup').dialog({
autoOpen: true,
width: 800,
height: 500,
resizable: false,
title: 'Resource Allocation',
modal: true,
open: function (event, ui) {

$(this).load('@Url.Action("GetEmpProjectDetails", "Report", new { ProjEmpId = EmpId })');
},
buttons: {
"Cancel": function () {
$(this).dialog("close");
}
}
});
}


Answers (2)