jQuery equivellent for dynamically create id
<p>I am looking for jQuery equivellent for the following. Please help. </p>

<pre><code>var request = document.getElementById('request_' + id1)
var response = document.getElementById('response_' + id1); 
modifyText(request.firstChild.nodeValue,response.firstChild.nodeValue);
</code></pre>
