How can I get the id of an element and then choose the element later with id?
<p>Am I correct in saying that the following will give me the id of an element?</p>

<pre><code>$('#detailData').on('click', '.select-topic', function (event) {
    var id = $(this).attr('id');
</code></pre>

<p>If that's correct then is it possible for me to perform a delayedclick on that element
with the code below. What I am not sure of is how do I code the jQuery selector? How can I enter in the id and the # mark together?</p>

<pre><code>setTimeout(function () {
    jQuery('???').trigger('click');
}, 1000);
</code></pre>
