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:
$(document).ready(function() {
$("div[title]").append('<a href="mailto:me@host?subject=XXX">feedback</a>');
})
how to insert the div[title] into subject?
EXAMPLE
<div title="Foo">
...
</div>
<div title="Bar">
...
</div>
I want two buttons placed right after the closing div:
<div title="Foo">
...
</div><a href="me@host?subject=Foo">feedback</a>
<div title="Bar">
...
</div><a href="me@host?subject=Bar">feedback</a>