title: jquery script not working after postback even with pageLoad
body: <p>I've got some trouble with <code>jQuery</code> script on my Asp.net page. During first load it works well, after postback it does not. Initially I thought that it is because script is not load again, but alert told me that script runs as I use function <code>pageLoad()</code> instead of <code>$(document).ready(function()</code>.
  In script I just read value from one text area and set the length value to next text input. I am putting script into page like this:  </p>
  
  <pre><code>&lt;script type="text/javascript" src="../js/smsanywhere.js"&gt;&lt;/script&gt;  
  </code></pre>
  
  <p>I tried to place directly into page, but there is no difference I guess.</p>
  
  <p>The script is shown below.</p>
  
  <pre class="lang-js prettyprint-override"><code>    function pageLoad()
      {
         alert('pageLoad is there');
         var textBox  = "textarea[id*='txtMessage']";
         var counterBox  = "input[id*='txtCharLeft']";
  
         $(textBox).keydown(function(){ 
            alert(this);
            var length = 70 - $(this).val().length;
            $(counterBox).val(length);
            $(counterBox).attr("style",function(){
               return "width:30px;" + (length &lt; 0 ? "background-color:Red;" : "");
           });
         });
      }
  </code></pre>
  
  <p>I don't use any <code>ajax</code> at this page, its just master page , content page and <code>jQuery</code>.</p>
  
  <p>What am I missing?</p>