how to address a child element in a div, addressed by its index
<p>To address an element by its index is clear:</p>

<pre><code>inner= $("span.[class*="myClass"]")[indTextTitle].innerHTML;
</code></pre>

<p>now, I have some div containing a I'ld like ta adress</p>

<pre><code>&lt;div class='row'&gt;&lt;a class'title'&gt; ... &lt;/a&gt;...&lt;p class='this'&gt;&lt;/p&gt;&lt;/div&gt;
&lt;div class='row'&gt;&lt;a class'text'&gt; ... &lt;/a&gt;...&lt;p class='that'&gt;&lt;/p&gt;&lt;/div&gt;
&lt;div class='row'&gt;&lt;a class'title'&gt; ... &lt;/a&gt;...&lt;p class='more'&gt;&lt;/p&gt;&lt;/div&gt;
</code></pre>

<p>a function is clalled when clicked a link</p>

<pre><code>$(function() { $("a.title").click(function(){
var indTitle = $("a.title").index(this); 
var Index =   $($("a.title")[indTitle]).parents("div.row").index();
</code></pre>

<p>What must be stupidly simple is to adress one of the p - elements by the index of the div:</p>

<pre><code>inner = S("div.row[index] p").innerHTML.
</code></pre>

<p>However, I'm more stupid. I've checked lots of ways, nothing worked once the brackets of the index appear. Again, no problem to adress the p.this[xy].innerHTML directly. But its index is changed dynamically and the only logical access is the index of the div.</p>

<p>Thanks for any help</p>

<p>Thomas</p>
