Adding feedback buttons
<p>I've a static html file that is generated from docbook5 sources. Now I need to add feedback buttons, at the end of each section, so I'm appending (using jQuery) a link after 
each title:</p>

<pre><code>$(document).ready(function() {
    $("div[title]").append('&lt;a href="mailto:me@host?subject=XXX"&gt;feedback&lt;/a&gt;');
})
</code></pre>

<p>how to insert the div[title] into subject? </p>

<p><strong>EXAMPLE</strong></p>

<pre><code>&lt;div title="Foo"&gt;
...
&lt;/div&gt;
&lt;div title="Bar"&gt;
...
&lt;/div&gt;
</code></pre>

<p>I want two buttons placed right after the closing div:</p>

<pre><code>&lt;div title="Foo"&gt;
...
&lt;/div&gt;&lt;a href="me@host?subject=Foo"&gt;feedback&lt;/a&gt;
&lt;div title="Bar"&gt;
...
&lt;/div&gt;&lt;a href="me@host?subject=Bar"&gt;feedback&lt;/a&gt;
</code></pre>
