jQuery(this).find('title').next().next().next().eq(0).text();?

what's the better/elegant way to do this?

jQuery(this).find('title').next().next().next().eq(0).text(); //THIS WORKS

i tried using

jQuery(this).find('title').eq(3) //DOESN't WORK

but it doesnt...

Answers


What about nextAll().eq(2) ? That should be the third item. And append .text() afterwards. If that's not it, can you provide the markup?


Need Your Help

MapPoint 2011 COM Scalable?

c# com map scalability mappoint

I've been tasked with writing a web service that can be called from one of our two plant locations that will allow our shipping department to get the most efficient route for a set of deliveries. W...

Why does my code print the whole string multiple times rather than 1 time?

c pointers command-line input command-line-arguments

I'm new to C. I'm having some trouble understanding some fundamental materials in reading input and pointers. I want to use a nextChar() function to read and print each character of a string that I

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.