Hi Hutze,
You can use CSS selectors within $() to get what you want.
For example:
$('#produkte a').html();
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 7, 2007, at 4:23 AM, Hutze wrote:
Hello there,
i have the following problem:
I need the selector for the HTML for the anker element after a given
li element with a specific id.
In the example i would need "Products" as the result for: Give me the
HTML from the anker after the li element with the id=produkte.
<html>
<body>
<ol>
<li id="produkte"><a href="/pages/produkte/
produkte_de.html">Products</
a>
<ol>
<li id="schlauchleitungen">
<a href="/pages/produkte/schlauchleitungen/
schlauchleitungen_de.html">Schläuche / -leitungen !</a>
</li>
</ol>
</li>
</ol>
</body>
</html>
Any help is greatly appreciated!
Thanks in advance.