jquery - button in ajax respone - no response to click
<p>jquery;</p>

<p>Situation - just upgrading from pure javascript to jquery - prompted by browser inconsistencies.</p>

<p>On load, a page displays, in a div, the result of an ajax request, which includes an OK button, <code>&lt;input name="srd_button_ok" type="button" value="OK"&gt;</code> at the bottom.</p>

<p>Clicking OK button IS NOT detected by:</p>

<pre><code>$('[name*="srd_button_ok"]').click (function(){
    alert("srd_button_ok clicked");});
</code></pre>

<p>However, another 'test button' placed in a separate div on same page, permanently displayed <code>&lt;input name="test_div" type="button" value="Test Div"&gt;</code> IS detected by:</p>

<pre><code>$('[name*="test_div"]').click (function(){
    alert("test_dv clicked");});
</code></pre>

<p>Both of the above within</p>

<pre><code>jQuery(document).ready(function(){ ....});
</code></pre>

<p>What am I missing or doing incorrectly?</p>

<p>Your advice will be appreciated.</p>

<p>Many thanks,</p>

<p>Ivan Rutter</p>
