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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Find out the nth element and get the particular string
Sibeesh Venu
Dec 01
2014
Code
1.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
To get the nth element
$.trim($(
"#pagerjqxgrid div:nth-child(3)"
).text());
To get the 1539 from a string of "1-10 from 1539"
$.trim($(
"#pagerjqxgrid div:nth-child(3)"
).text().split(
'of'
)[1]);
JQuery