jQuery and ASP.NET Control issue
<p>If I have a custom ASP.NET control that renders as an  html control with an ID, I'm trying to add an attribute to the input control with jQuery.</p>

<p>However, I'm running into some issues:</p>

<p>First, my jQuery is not able to select it.</p>

<p>I have so far:</p>

<pre><code>$(document).ready(function() {
  $(client id of the input control).attr('onclick', function () { alert('hey!'); });
});
</code></pre>

<p>It seems as if the jQuery is trying to find the input control but cannot.</p>

<p>Any ideas?</p>

<p><strong>UPDATE:</strong></p>

<p>Normally, the solutions presented would work but since this is a SharePoint Publishing .aspx page, Code blocks are not allowed... Trying other work arounds.</p>
