Hi, Everybody
I need to call a jquery popupform function inside the onclick event tag a using ASP.NET MVC, Every thing is looking fine but when I click on the btn add new the jquery popupform function dose not open and also the return json data dose not execute
Please have a look to my code and reply the missing error
Thanks
- @{
- ViewBag.Title = "Employee List";
- }
class
="mt-3">Employee List- "btnclick" class="btn btn-primary mb-2 ml-2" style="color:white" onclick="Popupform('@Url.Action("AddOrEdit","Employee")')"> class="fa fa-plus"> Add New
"TableEmployee"
class="table table-striped table-bordered w-100" >- Name
- Position
- Office
- Age
- Salary
- "https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.min.css" rel="stylesheet" />
- "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
- @section scripts{
- }
- // Controller
- [HttpGet]
- public ActionResult AddOrEdit(int id=0)
- {
- return View(new Employee_tb());
- }

Hedayat HoshmandPosted Mar 5, 2018, 10:38 PM
class
="mt-3">Employee ListRajneesh ChaubeyPosted Mar 5, 2018, 12:18 PM