title: jquery function undefined for IE9
body: <p>Iam new @ jquery - Thats working for almost all versions of IE except IE9 it says "Error: 'f' is undefined" i didnt know why ?? and if its not recommended to giving function name like that way then what should i do ?</p>
  
  <pre><code>$(document).ready(function f(txtName) 
  
      {
      $("#ctl00_Content_chkBox" + txtName).click(function () 
         {
           var thisCheck = $(this);
           if  (thisCheck.is(':checked')) 
             {
               var myDate = new Date();
               var displayDate = 
                   (myDate.getMonth() + 1) + '/' + (myDate.getDate()) + '/' + myDate.getFullYear();
               $(this).next(".textbox1").val(displayDate);
             }
         });
      });
  
  &lt;input type="checkbox" ID="chkBoxName" runat="server"   onclick="f('Name');" /&gt;
  
  &lt;asp:TextBox CssClass="textbox1" PreValue="" runat="Server" ID="txt_comp_name_date_v" Required="false" Enabled="False"  /&gt;
  </code></pre>