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
Abhilash J A
533
2.4k
597.9k
JQuery not detecting id element in partial view MVC4 C#
Apr 12 2016 3:19 AM
Hello,
Inside partial view there is a ListTable with id (#ListTable) and row has class name (.rowedit).
When I am try to get this id using below code in main page inside the ajax result, then error occured "
typeerror $(...).attr(...) is undefined
"
var id = $('#ListTable tr.rowedit').attr('id').substring(5);
alert(id)
Kindly replay me...
Reply
Answers (
1
)
Uncaught ReferenceError
How To Prevent Post Back Using Jquery?