TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hedayat Hoshmand
NA
56
4.6k
jquery popupForm function Onclick() tag <a/> dose not work
Mar 5 2018 10:16 AM
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());
}
Reply
Answers (
2
)
How to Upload Image With Entity Class Using Web Api
I want to Pass Session Name In another page?