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
Dr.Ajay Kashyap
NA
521
285.1k
Jquery live() method Not Working In ASP.net MVC
Feb 3 2017 3:08 AM
Hello....
Anyone can help..
live
() method
Not Working i am Using jquery-1.10.2.min.js. and .
live
() method
Not Working 1.9 Onword Version.. so How To Write This Function Now
$('a.remove').live("click", function (e) {
e.preventDefault();
$(this).parent().parent().remove();
});
<table id="dataTable" border="0" cellpadding="0" cellspacing="0">
<tr>
<th>Category</th>
<th></th>
</tr>
@if (Model != null && Model.Count > 0)
{
int j = 0;
foreach (var i in Model)
{
<tr style="border:1px solid black">
<td>@Html.TextBoxFor(a => a[j].Category)</td>
<td>
@if (j > 0)
{
<a href="#" class="remove">Remove</a>
}
</td>
</tr>
j++;
}
}
</table>
$('a.remove').live("click", function (e) {
e.preventDefault();
$(this).parent().parent().remove();
});
Reply
Answers (
2
)
How can we call restfull web api in C#.net?
modelstats.isvalid